hi, im using a hbrush with ctlcolorstatic.
the problem is that the color is not working right, here is the code.
the background color of it seems to be changing right but the background color of the text is allways black.Code:case WM_CTLCOLORSTATIC: SetBkColor((HDC)wParam , hBrush); SetTextColor((HDC)wParam ,RGB(255,255,255)); return ((LRESULT)hBrush);
im getting 2 warnings and they are
im getting them for the SetBkColor line..im not to sure what they mean either.Code:'unsigned long ' differs in levels of indirection from 'struct HBRUSH__ *' 'SetBkColor' : different types for formal and actual parameter 2
if some one could help me out with this problem it would be much appriciated.