Contents Index Topic Contents | ||
Previous Topic: TB_SETPADDING Next Topic: TB_SETROWS |
TB_SETPARENT
TB_SETPARENT wParam = (WPARAM) (HWND) hwndParent; lParam = 0;Sets the window to which the toolbar control sends notification messages.
- The return value is a handle to the previous notification window, or NULL if there is no previous notification window.
- hwndParent
- Handle to the window to receive notification messages.
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.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.