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 » Ribbon Bar Question Collapse All
Subject Author Date
Francesco Toscano Jul 5, 2010 - 12:23 PM

Probably it is a very stupid question, Is it possible to add a ribbon Bar to a Dialog based application?


If yes, is available any example?


 


Regards.

Technical Support Jul 6, 2010 - 6:57 AM

The RibbonPage sample demonstrates how to create a CExtRibbonPage window inside the CExtResizableDialog window. The CExtRibbonPage control is a simplified CExtRibbonBar without file button, tabs and quick access toolbar.
You can create the CExtRibbonBar inside dialog and initialize it exactly like it’s created inside frame window. The only differences is that the dialog should invoke the CWnd::RepositionBars( 0, 0xFFFF, 0 ) code near the end of the OnInitDialog() virtual method and in the dialog’s OnSize() handler method.