Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - CXTColorPicker and CPS_XT_SHOWEYEDROPPER style
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTColorPicker and CPS_XT_SHOWEYEDROPPER style

 Post Reply Post Reply
Author
Message
Fredrik View Drop Down
Senior Member
Senior Member


Joined: 22 June 2005
Status: Offline
Points: 226
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fredrik Quote  Post ReplyReply Direct Link To This Post Topic: CXTColorPicker and CPS_XT_SHOWEYEDROPPER style
    Posted: 21 January 2010 at 10:34am
I noticed that the color picker dialog had a CPS_XT_SHOWEYEDROPPER style which enabled a neat little color picker tool. How do I enable this for the "More colors" choice in the CXTColorPicker?

Perhaps line 879 in XTColorSelectorCtrl.cpp should be changed to:

m_pColorDlg = new CXTColorDialog(clrColor, clrColor,(dwPopup & (CPS_XT_SHOWHEXVALUE | CPS_XT_SHOW3DSELECTION | CPS_XT_SHOWEYEDROPPER )), GetParent());

?

Second question: I like to be able to select transparency in the same color picker popup - perhaps by adding a slider, edit field and a spinner in the popup. (I also wouldn't mind the same functionality in the color dialog.) Is this something planned for a release in the near future? If not, what would be the best solution to add a transparency slider in the color picker popup?
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.156 seconds.