object = HookMessage(obHandler, message )
Hook a message notification handler
CommentsThe handler object passed will be called as the application receives messages with the specified ID. Note that it is not possible for PythonWin to consume a message - it is always passed on to the default handler. The handler will be called with 2 arguments
The handler object (as per all hook functions).
A tuple representing the message.
The message tuple is in the following format:
-  int : hwnd
- The hwnd of the window.
-  int : message
- The message.
-  int : wParam
- The wParam sent with the message.
-  int : lParam
- The lParam sent with the message.
-  int : time
- The time the message was posted.
-  int, int : point
- The point where the mouse was when the message was posted.
Return ValueThe return value is the previous handler, or None.