Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - customizing CXTPControlColorSelector
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

customizing CXTPControlColorSelector

 Post Reply Post Reply
Author
Message
esc67 View Drop Down
Newbie
Newbie


Joined: 09 June 2005
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote esc67 Quote  Post ReplyReply Direct Link To This Post Topic: customizing CXTPControlColorSelector
    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
 
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 22 November 2006 at 1:51am

Hello,

you can replace it using Galleries. See CommandBars\GallerySampe
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
esc67 View Drop Down
Newbie
Newbie


Joined: 09 June 2005
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote esc67 Quote  Post ReplyReply Direct Link To This Post Posted: 22 November 2006 at 11:52am
Wow.  A whole new API to learn
 
Thanks
 
-Erik
 
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.063 seconds.