Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - ribbons on dialogs
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ribbons on dialogs

 Post Reply Post Reply
Author
Message
gernot View Drop Down
Newbie
Newbie
Avatar

Joined: 20 June 2006
Location: Austria
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote gernot Quote  Post ReplyReply Direct Link To This Post Topic: ribbons on dialogs
    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
Back to Top
hipopotamo View Drop Down
Groupie
Groupie


Joined: 01 June 2006
Location: Portugal
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote hipopotamo Quote  Post ReplyReply Direct Link To This Post 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é
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.066 seconds.