CXTColorPicker and CPS_XT_SHOWEYEDROPPER style |
Post Reply |
Author | |
Fredrik
Senior Member Joined: 22 June 2005 Status: Offline Points: 235 |
Post Options
Thanks(0)
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? |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |