| JCWindowsManagerSetParent Method |
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.5.10.240120-2a3d9d79d92bde9fdf6d46131ee31d20c12fe372
Syntax [DllImportAttribute("user32.dll")]
public static IntPtr SetParent(
IntPtr hWndChild,
IntPtr hWndNewParent
)
<DllImportAttribute("user32.dll">]
Public Shared Function SetParent (
hWndChild As IntPtr,
hWndNewParent As IntPtr
) As IntPtr
Parameters
- hWndChild IntPtr
- A handle to the child window.
- hWndNewParent IntPtr
- A handle to the new parent window. If this parameter is Zero, the desktop window becomes the new parent window.
Return Value
IntPtrIf the function succeeds, the return value is a handle to the previous parent window. If the function fails, the return value is
Zero. To get extended error information, call
GetLastError.
See Also