The TB_SETPARENT message sets the window to which the toolbar control sends notification messages.
TB_SETPARENT wParam = (WPARAM) (HWND) hwndParent; lParam = 0;
The return value is a handle to the previous notification window, or NULL if there is no previous notification window.
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.
|file: /Techref/os/win/api/win32/mess/src/msg17_15.htm, 1KB, , updated: 2000/4/7 12:20, local time: 2022/8/8 00:57,
|©2022 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.sxlist.com/techref/os/win/api/win32/mess/src/msg17_15.htm"> TB_SETPARENT</A>
|Did you find what you needed?|
Welcome to sxlist.com!
& kind contributors
just like you!
Please don't rip/copy
Copies of the site on CD
are available at minimal cost.
Welcome to www.sxlist.com!