Print Page | Close Window

Cancel button does not work in Undo for Ribbon SDI

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=10277
Printed Date: 14 November 2025 at 8:08pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Cancel button does not work in Undo for Ribbon SDI
Posted By: terrym
Subject: Cancel button does not work in Undo for Ribbon SDI
Date 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



Replies:
Posted By: terrym
Date 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



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