Win32Methods::SetParent Method (IntPtr, IntPtr)
Visual Studio 2015
Changes the parent window of the specified child window.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- hWnd
-
Type:
System::IntPtr
A handle to the child window that should receive a new parent.
- hWndParent
-
Type:
System::IntPtr
A handle to the new parent window.
Return Value
Type: System::IntPtrIf the function succeeds, a handle to the previous parent window, otherwise null.
Show: