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

CXTColorSelectorCtrl - ColorComboBox

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


Joined: 16 December 2004
Location: Norway
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote hubba09 Quote  Post ReplyReply Direct Link To This Post Topic: CXTColorSelectorCtrl - ColorComboBox
    Posted: 16 December 2004 at 7:47am

Hi

I'm currently developing a color picker combo box controller and I intend to have it work and look similar to the sample provided with XTools. The idea was to implement some
class CColorComboBox: public CComboBox
and create the CTXColorSelectorCtrl on DoDropDown on the ComboBox object.

I seem to have some trouble in working out how to implement this correctly. I'm using the CTXColorSelectorCtrl for this purpose. I'm able to display the color picker dialog, but it seems to be disabeled. It pops up, but its not posible to use it at all.

I create the CTXColorSelectorCtrl object by running the create method:
m_pColorSelector->Create(rect, pParent, CPS_XT_NOFILL | CPS_XT_EXTENDED | CPS_XT_MORECOLORS, colorref);

I guess maybe I have to set some other properties to make it work?
I have tried to use the sample code, but I really do need some more helpe!

 

 

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.172 seconds.