bool SetOwnerWnd(int hWnd, int hWndNewOwner)

Attempts to make hWndNewOwner the owner of hWnd. Trust Level Required: High

Parameters

Name Description
hWnd The handle of the window.
hWndNewOwner The handle of the new owner of hWnd.

Return

True on success.