View Single Post
Old 02-02-2004, 10:58 AM   #4 (permalink)
paul
Registered User
 
Join Date: Feb 2003
Location: NS, Canada
Posts: 15
paul is on a distinguished road
thanks redhead, the program now compiles and runs sucessfully.

before, the code was:

Code:
WndClass.hbrBackground = GetStockObject(WHITE_BRUSH);

//and I made it

WndClass.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH);
paul is offline   Reply With Quote