|
|
От: | OZZY | |
| Дата: | 26.01.04 09:38 | ||
| Оценка: | |||
|
|
От: | Burz | |
| Дата: | 26.01.04 12:59 | ||
| Оценка: | |||
// Get the selected color from the CColorDialog.
CColorDialog dlg;
if (dlg.DoModal() == IDOK)
{
COLORREF color = dlg.GetColor();
TRACE("RGB value of the selected color - red = %u,
green = %u, blue = %u\n",
GetRValue(color), GetGValue(color), GetBValue(color));
}