   hbrBackground
  Hey,I have the following problem in windows class when i use GetStockObject(BLACK_BRUSH):error C2440: ''='' : cannot convert from ''void *'' to ''struct HBRUSH__ *''   Conversion from ''void*'' to pointer to non-''void'' requires an explicit castHow can i get rid of it?Thanks in advance 
  hbrBackground =  (HBRUSH) GetStockObject(BLACK_BRUSH);you cast it to an HBRUSH 