Print Page | Close Window

customizing CXTPControlColorSelector

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


Topic: customizing CXTPControlColorSelector
Posted By: esc67
Subject: customizing CXTPControlColorSelector
Date Posted: 21 November 2006 at 7:59pm
This is a feature request. Does anybody else think this would be useful?
 
Could you please expose "extendedColors" hidden in the CRobloxControlColorSelector implenentation?
 
If extendedColors were a static std::vector<CColorInfo> member of CRobloxControlColorSelector then I could initialize it with my own colors.  (I suppose an ATL collection would be OK, too)
 
Also, please make XTP_SELECTOR_SIZE, XTP_SELECTOR_MARGIN, XTP_SELECTOR_WIDTH and XTP_SELECTOR_HEIGHT into runtime-modifiable fields.
 
I copied the CXTPControlColorSelector source into my project and customized it with great success. I'd rather not do this, because I have to re-implement it each time there is an update.
 
Thanks!
 
-Erik
 



Replies:
Posted By: Oleg
Date Posted: 22 November 2006 at 1:51am

Hello,

you can replace it using Galleries. See CommandBars\GallerySampe


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: esc67
Date Posted: 22 November 2006 at 11:52am
Wow.  A whole new API to learn
 
Thanks
 
-Erik
 



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