(Добавление)
Идея как сделать цветные статики, эдит, комбо итд.
Используя CreateSolidBrush function
И
Цитата:
WM_CTLCOLORMSGBOX
WM_CTLCOLOREDIT
WM_CTLCOLORLISTBOX
WM_CTLCOLORBTN
WM_CTLCOLORDLG
WM_CTLCOLORSCROLLBAR
WM_CTLCOLORSTATIC[WM_CTLCOLORSTATIC message]
WM_CTLCOLOREDIT
WM_CTLCOLORLISTBOX
WM_CTLCOLORBTN
WM_CTLCOLORDLG
WM_CTLCOLORSCROLLBAR
WM_CTLCOLORSTATIC[WM_CTLCOLORSTATIC message]
(Добавление)
А значит и
CODE:
SetTextColor((HDC)wParam, RGB(255, 0, 0));