BCGControlBar Pro for MFC
double CBCGPColorPickerCtrl::GetHue ( int  nIndex = -1) const

Retrieves the hue component of the selected color

Parameters
nIndexSpecifies a color index. If this parametr is -1, the currently selected color is used.
Returns
The hue component of the color selected in the CBCGPColorPickerCtrl.

Call this function to retrieve the hue component of the selected color.