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

WinLib.MessageMonitor.WindowMessage

Andrew Lambert edited this page Jul 16, 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

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

Clone this wiki locally