CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Posts
    69

    '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 ?


  2. #2
    Join Date
    Apr 1999
    Posts
    18

    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.



  3. #3
    Join Date
    May 1999
    Posts
    69

    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
  •  





Click Here to Expand Forum to Full Width

Featured