COLORREF in RGB umwandeln???
-
Guten Tag zusammen.
Ich habe einen CColorDialog erstellt und will nun die RGB-Werte auslesen... Wie kann ich das realisieren?
MfG, Schuri
-
CColorDialog::DoModal
Call this function after calling DoModal to retrieve the information about the color the user selected.
-
meinste so?!
COLOREF m_crefFarbe = RGB(dlg.iRot,dlg.iGruen,dlg.iBlau);
-
denke er meint den umgekehrten weg:
GetRValue
GetGValue
GetBValue