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 to obtain a pointer to the function.

Implemented in "dlls/shlwapi/ordinal.c". gitlab.winehq.org/wine/wine/blob/master/dlls/shlwapi/ordinal.c

Debug channel "shell".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.