PyCWnd.HookAllKeyStrokes
HookAllKeyStrokes(obHandler)
Hook a key stroke handler for all key strokes.
Parameters
Comments
The handler object passed will be called as the application receives WM_CHAR messages. The handler will be called with 2 argumentsThe handler object (as per all hook functions).
The keystroke being handled.
If the handler returns TRUE, then the keystroke will be passed on to the default handler, otherwise it will be consumed.
Note: This handler will prevent any PyCWnd::HookKeyStroke hooks from being called.