Opens a color selection dialog
- Returns
- Nonzero if the user has selected a new color; otherwise 0.
Call this member function to open a color selection dialog from the menu button. If the returned value is nonzero, than a color that has been selected is stored in the colorRes value. Use EnableOtherButton() member function to switch between the standard color selection dialog and the CBCGPColorDialog dialog.
- Parameters
-
colorDefault | A default color to be selected in the color selection dialog |
colorRes | A reference to an RGB value |