CColorDialog

CColorDialog Cdlg(0,0,NULL);
if (Cdlg.DoModal()!=IDOK) return;
COLORREF rgbResult = ((COLORREF)Cdlg.GetColor());
   
if (colorManager) delete colorManager;
   
colorManager = new CiHairColor( HairColor , seg , GetRValue(rgbResult), GetGValue(rgbResult), GetBValue(rgbResult));

你可能感兴趣的:(CColorDialog)