Print Page | Close Window

ribbons on dialogs

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4442
Printed Date: 10 November 2025 at 5:35pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ribbons on dialogs
Posted By: gernot
Subject: ribbons on dialogs
Date Posted: 20 June 2006 at 7:08am
Can I use an Office 2007 style ribbon band on a CXTPDialog derived window. If yes, how do I do this?
 
Thanks,
Gernot



Replies:
Posted By: hipopotamo
Date Posted: 20 June 2006 at 2:00pm
Hi,
 
The same way you do on a CMDIFrameWnd
 
CXTPDialogBase also implements GetCommandBars().
 
But don't forget to set ribbon theme...
    
GetCommandBarS()->SetPaintManager(new CXTPRibbonTheme() );
 
 
André



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net