Sign in Join
FPDoc Onlineexperiment

TWinControl.GetParentHandle function

Member of TWinControlprotectedIn unit Controls

Gets the handle for the Parent control.

Declaration

pascal
function GetParentHandle: HWND

Function result

Control or window handle that is the parent for the current control.

Description

GetParentHandle is a HWND function used to get the handle for the Parent in the current control. The return value contains the handle for the TWinControl instance in Parent (when assigned). When unassigned, the handle in ParentWindow is used as the return value.

See also

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