Print Page | Close Window

Color dropdown on CXTToolBar

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=796
Printed Date: 24 December 2024 at 8:55pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Color dropdown on CXTToolBar
Posted By: dmetzler
Subject: Color dropdown on CXTToolBar
Date Posted: 29 May 2004 at 9:06pm

I have added a color dropdown on my toolbar using:

m_wndToolBar.AddDropDownButton(ID_PICK_TEXT_COLOR, m_colorFont, m_colorFont, CPS_XT_EXTENDED | CPS_XT_MORECOLORS | CPS_XT_SHOWHEXVALUE, TRUE, TRUE) ;

1) How do I get notified of the color change from the popup or color dialog?

2) If not using the Office-XP look (xtAfxData.bXPMode is false), the color does not show up on the toolbar button.  Is this a bug in XT?

Thanks,

Don Metzler

Barefoot Productions, Inc.




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