Skip to content

SetParentWindow

function

Delphi
procedure SetParentWindow(Value: HWND);
C#
public void SetParentWindow(IntPtr Value);
VB.NET
Public Sub SetParentWindow(Value As IntPtr)
C++/Qt
void SetParentWindow (HWND Value);

Used to set a parent window

Remarks

This function is exposed by the Visual Studio C++ versions to attach the control to a parent window programmatically.