Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Cancel button does not work in Undo for Ribbon SDI
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Cancel button does not work in Undo for Ribbon SDI

 Post Reply Post Reply
Author
Message
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Topic: Cancel button does not work in Undo for Ribbon SDI
    Posted: 17 April 2008 at 11:15am
Cancel button does not work in Undo for Ribbon SDI sample, was this intentional ?
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2008 at 2:06pm
Originally posted by terrym terrym wrote:

Cancel button does not work in Undo for Ribbon SDI sample, was this intentional ?
 
Its OK we have now derived a class from CXTPControlStatic and added OnLButtonUp and owner draw handlers.
 
To get the below effect as in Word 2007:
 
 
Notice the Undo 9 Actions has a background colour of RGB( 245, 245, 245 ) and also a divider just above. Also text is black. This is how Word 2007 draws this gallery control
 
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
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.047 seconds.