Sign in Join
FPDoc Onlineexperiment

TWidgetSet.PeekMessage function

Member of TWidgetSetpublicIn unit InterfaceBase

Checks the thread's message queue for a message.

Declaration

pascal
function PeekMessage(var lpMsg: TMsg; Handle: HWND; 
 wMsgFilterMin: UINT; wMsgFilterMax: UINT; 
 wRemoveMsg: UINT): Boolean; virtual

Arguments

lpMsg

Receives the message.

Handle

The target window handle of the message. Zero for any window, INVALID_HANDLE_VALUE for thread messages.

wMsgFilterMin

The lowest message ID to retrieve.

wMsgFilterMax

The highest message ID to retrieve, zero for all messages.

wRemoveMsg

PM_REMOVE will remove the message from the queue.

Description

Nothing more than the line above yet.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.