WinXRegMessageHandler (hWnd, msg, FUNCADDR msgHandler)
Registers a callback function to handle messages.
Parameter | Description |
---|---|
hWnd | The handle to the window to register the callback for |
msg | The message to process |
FUNCADDR msgHandler | The address of the handleMessage callback function |
$$TRUE on success or $$FALSE on fail
If you register a message handler for a message that is normally processed by WinX, WinX will call your handler first and then perform the default functionality.
'Register a callback to process $$WM_NOTIFY messages WinXRegMessageHandler (#hMain, $$WM_NOTIFY, &msgHandler()) |