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 » Is there a way to dock control-bars next to the menu bar? Collapse All
Subject Author Date
Offer Har Nov 13, 2008 - 9:54 AM

Hi,


I have an CExtMenuControlBar, and several comtrol-bars. The menu-bar occupies only half of the screen’s width, so I would like to dock control-bars to it’s right side.


However, whenever I try this, by dragging in the control-bar next to the menu-ber, the menu-bar jumps up or down...


Please help,


Thanks.

Technical Support Nov 14, 2008 - 5:20 AM

The menu bar is a kind of toolbar. Both a CExtMenuControlBar and a CExtToolControlBar bar can take up the entire row (like a classic menu bar) or part of it (like a classis toolbar). You can use a custom CExtMenuControlBar-derived class implementing the CExtMenuControlBar::_GetFullRowMode() virtual method that returns false . Such a menu bar will behave like a toolbar and can be docked in the same row/column with other toolbars.

Offer Har Nov 14, 2008 - 7:24 AM

Thanks!