|
-
May 4th, 1999, 07:49 AM
#1
'Collapsible' tool window
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 ?
-
May 4th, 1999, 08:06 AM
#2
Re: 'Collapsible' tool window
Have a look at the CRollup class somewhere in Codeguru, cannot remember quite where. You basically have a normal window but with a 'minimise' button which rolls the window up to just it's title bar, clicking on it again shows the full window.
I have used this recently and can thoroughly recommend it's use.
Not too sure if this is what you want.
Regards,
Craig.
-
May 4th, 1999, 10:49 AM
#3
Re: 'Collapsible' tool window
Thanks, Craig!
I'll try it out...
But I can't seem to find it on CodeGuru. Tell me how big the file is. If it's not too big, u could mail it to me.
Hardeep.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|