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 » CExtMenuControlBar does not support MF_MENUBREAK (Row) and MF_MENUBARBREAK? Collapse All
Subject Author Date
Chris Anderson Apr 25, 2007 - 5:52 PM

I am porting the Windows Menu Bar using CExtMenuControlBar. Some of my sample uses MF_MENUBREAK for creating new row and MF_MENUBARBREAK column column. How do I get these feature using CExtMenuControlBar?

Chris Anderson Apr 26, 2007 - 2:50 PM

Thanks.

What about MF_MENUBARBREAK. This is used as column in our application and can we get this feature?

Technical Support Apr 27, 2007 - 11:34 AM

We are sorry but it is not completely cleat what you mean exactly. Could you send us a screenshot of the menu line in your project demonstrating what you actually mean so that we can help you more efficiently?


Technical Support Apr 26, 2007 - 1:31 PM

The menu bar supports dynamic wrap flags for its toolbar buttons. You can see how the buttons become wrapped when you are decreasing the width of menu bar’s parent window. We do not support the static wrap flags because this kind of layout is quite obsolete and never used in menu bars in latest Microsoft applications. The toolbars (and menu bar) are supporting three wraps for each button (for horizontally docked state, vertically docked state and floating state) and palette mode. The toolbar in palette mode can be seen in the DRAWCLI sample. It is possible to override several internal virtual functions in your menu bar class to get the same layout in the menu bar, but we are not sure that you really need this.