Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » ResizableBar covering all the client area - is it possible? Collapse All
Subject Author Date
Suhai Gyorgy Dec 6, 2005 - 3:30 AM

Hi!

My app is an SDI without the Document/View architecture. I have a CWnd-derived View but I don’t really use it. But I have five Resizable control bars and I’d like to make them occupy the whole client area. This way I would only see the view if all the control bars are closed. I was thinking to use CExtControlBar::DockControlBarLTRB method for the second, third etc. controlbars, but I should dock the first control bar so that it covers the client area and also grows/shrinks along with it in case the user resizes the window. How could I do that?

Thank you for your answer: Chris

Technical Support Dec 7, 2005 - 1:48 AM

Please take a look at how it is done in the SDI_DynamicBars sample. There is a tab page container used as the main view window in it. This design allows you to get the content of dynamic control bars into tab pages inside the tab page container. So, using dynamic bars will help you avoid coding the child view window.