Scroll to navigation

SHSetParentHwnd(3w) Wine API SHSetParentHwnd(3w)

NAME

SHSetParentHwnd (SHLWAPI.167)

SYNOPSIS

HWND SHSetParentHwnd
(
HWND hWnd,
HWND hWndParent
)
 

DESCRIPTION

Change a window's parent.
 

PARAMS

hWnd [In] Window to change parent of.
hWndParent [In] New parent window.
 

RETURNS

The old parent of hWnd.
 

NOTES

If hWndParent is NULL (desktop), the window style is changed to WS_POPUP. If hWndParent is NOT NULL then we set the WS_CHILD style.
 

IMPLEMENTATION

Exported by ordinal only. Use GetProcAddress(3w) to obtain a pointer to the function.
Implemented in "dlls/shlwapi/ordinal.c".
Debug channel "shell".
Oct 2012 Wine API