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 use the RibbonBar in dialog? Collapse All
Subject Author Date
Daniel Sun Aug 2, 2007 - 7:50 PM

I want use the ribbonbar in my dialog to get better caption bar like Ribbonbar example. Is it possible?

Technical Support Aug 6, 2007 - 8:19 AM

Which class is the base of your dialog class? CExtResizableDialog or CExtNCW < CExtResizableDialog >?

Daniel Sun Aug 8, 2007 - 9:00 AM

I want to used in CExtNCW < CExtResizableDialog > class

Technical Support Aug 8, 2007 - 11:25 AM

You should simply create a CExtRibbonBar window inside the CExtNCW < CExtResizableDialog > window in its OnInitDialog() method. If you initializes the file button in this ribbon bar, you will see caption integrated. Please also do not forget to invoke CWnd::RepositionBars( 0, 0xFFFF, 0 ); in the OnInitDialog() and OnSize() methods of your dialog class. If you have a subscription, you can also send us your project if you encounter any difficulties so we can help you.