Hardeep Singh
May 4th, 1999, 07:49 AM
Everyone knows the tool window you get in the Visual Studio's resource editor, the one with all those controls...
Well, I'd like to know how to make such a window, and also make it 'collapsible' like the popup windows in Photoshop, which collapse to a bar and can be expanded again.
While looking thru the documentation of CreateWindowEx() I found such a style among the extended window styles - WS_EX_TOOLWINDOW. But how do I :
add a flat toolbar in such a window (will it be in the oncreateclient funciton as usual?),
make it collapsible as I said before,
make it DOCKABLE and dock it with the DESKTOP WINDOW,
and do I need to register a new window class for it ?
Well, I'd like to know how to make such a window, and also make it 'collapsible' like the popup windows in Photoshop, which collapse to a bar and can be expanded again.
While looking thru the documentation of CreateWindowEx() I found such a style among the extended window styles - WS_EX_TOOLWINDOW. But how do I :
add a flat toolbar in such a window (will it be in the oncreateclient funciton as usual?),
make it collapsible as I said before,
make it DOCKABLE and dock it with the DESKTOP WINDOW,
and do I need to register a new window class for it ?