User32PeekMessage Method

Overload List

PeekMessage(NativeMessage, IntPtr, UInt32, UInt32, PeekMessageFlags) Dispatches incoming sent messages, checks the thread message queue for a posted message, and retrieves the message (if any exist).
PeekMessage(NativeMessage, HandleRef, UInt32, UInt32, PeekMessageFlags) Dispatches incoming sent messages, checks the thread message queue for a posted message, and retrieves the message (if any exist).

See Also