Skip to content
This repository was archived by the owner on Nov 26, 2022. It is now read-only.

WinLib.MessageMonitor.WindowMessage

Andrew edited this page Mar 13, 2014 · 8 revisions

#WinLib.MessageMonitor.WindowMessage

##Event Signature Event Function WindowMessage(HWND As WindowRef, Message As Integer, WParam As Ptr, LParam As Ptr) As Boolean

##Parameters ####HWND As Integer A handle to the window ####Message As Integer The Window Message ID. Either a system constant or registered window message. ####WParam As Ptr Varies depending on the specific Message ID number; may be Nil. ####LParam As 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 RB 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

Clone this wiki locally