TB_SETPARENT message
Sets the window to which the toolbar control sends notification messages.
Parameters
-
wParam
-
Handle to the window to receive notification messages.
-
lParam
- Must be zero.
Return value
The return value is a handle to the previous notification window, or NULL if there is no previous notification window.
Remarks
The TB_SETPARENT message does not change the parent window that was specified when the control was created. Calling the GetParent function for a toolbar control will return the actual parent window, not the window specified in TB_SETPARENT. To change the control's parent window, call the SetParent function.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|