SetParent function user32
Changes the parent window of the specified child window.
HWND SetParent(
HWND hWndChild,
HWND hWndNewParent
);
Implementation
int SetParent(int hWndChild, int hWndNewParent) =>
_SetParent(hWndChild, hWndNewParent);