Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Exit & Options on Quick Access Toolbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Exit & Options on Quick Access Toolbar

 Post Reply Post Reply
Author
Message
mrmathis View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 May 2007
Location: United States
Status: Offline
Points: 105
Post Options Post Options   Thanks (0) Thanks(0)   Quote mrmathis Quote  Post ReplyReply Direct Link To This Post Topic: Exit & Options on Quick Access Toolbar
    Posted: 25 April 2008 at 4:40pm
Try this in the Ribbon sample project.  Click the System Button, then right-click on the Options button and select Add To Quick Access Toolbar.  Do the same for the Exit Sample button.  The buttons get added to the QAT as shown here:
 
 
My problem is with the background not looking like the rest of the buttons.  My customer thinks the button looks "pressed."  I've debugged and found that this traces to cloning the CXTPRibbonControlSystemPopupBarButton onto the QAT.  That object's ::Draw function always blasts the RIBBONSYSTEMMENUBUTTON bitmap onto the screen. 
 
I worked around this on the QAT dialog (since I have already copied and customized the heck out if it) by trapping this class of control and cloning it onto a regular button, but I don't see how to get around the customer getting into this pickle using the workflow I outlined above.
 
Any suggestions?
 
 
--Mike
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 26 April 2008 at 3:17am
Hello,
Thanks, it was fixed for final 12.0 release.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.031 seconds.