Sign in Join
FPDoc Onlineexperiment

TWidgetSet.SetCapture function

Member of TWidgetSetpublicIn unit InterfaceBase

Sets the mouse capture to the specified window.

Declaration

pascal
function SetCapture(AHandle: HWND): HWND; virtual

Description

The window will receive all mouse messages, until capture is released again.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.