SHSetParentHwnd(3w)

SHSetParentHwnd3w

Usage

HWND SHSetParentHwnd
(
HWND hWnd,
HWND hWndParent
)

Overview

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".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.