I am using Visual C++ 2010 express, and found this control called Color Dialog. Now, I understand the concept and checked some of the methods but I would appreciate a help on this.
I would like to GET and SET (both) a color from/to this color dialog but based on HSV values (not RGB).
I found there is something called GetHue so that I can get the Hue (H) value from the selected color . I suppose something like (correct me if I am wrong)
SET Values:HueValue=colorDialog1-> Color->GetHue();
Here is my problem. How to set the predefined color in the Color Dialog to reflect a set of HSV values??
I can see in the control that there are values for HSL, so there must be a way to set these values, but how....
Thank you in advance for your help