如何从COLORREF中获取RGB分量值:
COLORREF color =RGB(120,250,110);
int r = GetRValue(color);
int g = GetGValue(color);
int b = GetBValue(color);
如何从COLORREF中获取RGB分量值:
COLORREF color =RGB(120,250,110);
int r = GetRValue(color);
int g = GetGValue(color);
int b = GetBValue(color);