BCGControlBar Pro for MFC
void CBCGPColorDialog::SetPageOne ( BYTE  R,
BYTE  G,
BYTE  B 
)

Selects an RGB value for the first property page

Allows to change a selected color on the first property page of the color dialog by adjusting R,G or B color component explicitly.

Parameters
RSpecifies a red component of the RGB value
GSpecifies a green component of an RGB value
BSpecifies a blue component of an RGB value