WinLib.MessageMonitor.WindowMessage - charonn0/WinLib GitHub Wiki
#WinLib.MessageMonitor.WindowMessage
##Event Signature
Event Function WindowMessage(HWND As WindowRef, Message As Integer, WParam As Ptr, LParam As Ptr) As Boolean
##Parameters
| Name | Type | Comment |
|---|---|---|
| HWND | WindowRef |
A reference to the receiving window |
| Message | Integer |
The Window Message ID. Either a system constant or registered window message. |
| WParam | Ptr |
Varies depending on the specific Message ID number; may be Nil. |
| LParam | Ptr |
Varies depending on the specific Message ID number; may be Nil. |
##Return Value
Return True if you handled the message and neither Windows nor the runtime should attempt default processing.
##Notes This event is raised by the WndProc method.
Raised for every window message matching any message ID added to the filter using AddMessageFilter and not subsequently removed with RemoveMessageFilter
##See also