Professional UI Solutions
Site Map   /  Register


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 General Discussion » How to implement menu bar on dialog based application with office 2007 Release 2 (Blue Luna)? Collapse All
Subject Author Date
huuhenbold boldoo Apr 8, 2007 - 11:46 PM

Please help

Technical Support Apr 9, 2007 - 1:10 PM

You can see how the CExtMenuControlBar control is created as a custom dialog control in the main dialog window in the ProfUIS_Controls sample. You can add the same control to your dialog, specify the same properties of this control, add the CExtMenuControlBar m_wndMenuBar; property to your dialog class and corresponding DDX_Control() method invocation to the DoDataExchange() virtual method of your dialog class, and, finally, invoke the RepositionBars() method both from OnInitDialog() and OnSize() methods of your dialog class.