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 11:20, local time: 2024/11/13 09:21,
3.145.183.66:LOG IN
|
©2024 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://linistepper.com/techref/os/win/api/win32/mess/src/msg17_15.htm"> TB_SETPARENT</A> |
Did you find what you needed? |