Sign in Join
FPDoc Onlineexperiment

TWidgetSet.GetClientRect function

Member of TWidgetSetpublicIn unit InterfaceBase

Returns the client rectangle of a window.

Declaration

pascal
function GetClientRect(handle: HWND; var Rect: TRect): Boolean
 ; virtual

Description

The client rectangle is the size of the inner area of a control, where e.g. the child controls are visible. Left and Top are always 0.

A child control with Align=alClient will completely fill the client rectangle.

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