RAD Studio VCL Reference
|
Returns the window handle for the window of the control's parent.
function GetParentHandle: HWND;
__fastcall HWND GetParentHandle();
Use the handle returned by GetParentHandle as a parameter to Windows API function calls that need the window handle for the parent window of the control. If the Parent property is not nil (Delphi) or NULL (C++), GetParentHandle returns the Handle property of the parent control. If the Parent property is nil (Delphi) or NULL (C++), GetParentHandle returns the value of ParentWindow.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|