04-25-2007, 05:27 AM
Use one of these messages depending on control type:
WM_CTLCOLOREDIT
WM_CTLCOLORLISTBOX
WM_CTLCOLORBTN
WM_CTLCOLORSCROLLBAR
WM_CTLCOLORSTATIC
lParam is control handle. If you need id, use function GetDlgCtrlID.
WM_CTLCOLOREDIT
WM_CTLCOLORLISTBOX
WM_CTLCOLORBTN
WM_CTLCOLORSCROLLBAR
WM_CTLCOLORSTATIC
lParam is control handle. If you need id, use function GetDlgCtrlID.
