RB_SETPARENT message

Sets a rebar control's parent window.

Parameters

wParam

Handle to the parent window to be set.

lParam

Must be zero.

Return value

Returns the handle to the previous parent window, or NULL if there is no previous parent.

Remarks

The rebar control sends notification messages to the window you specify with this message. This message does not actually change the parent of the rebar control.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h