I am begginer with MFC im writing a small program where you can draw lines freely in the Client Area.. and i have a menu with only 1 option.. lol
Its "Clear" Its suppose to clear w/e the user has drawn..
right now i have it to post a WM_PAINT message but it doesn't seem to do anything... How ever if you do something to cause Windows to send a WM_PAINT message to the program it clears it..
for example when you drag another window over it, or when you resize it..
So how do i Clear the Client Area?
Forgot to mention im drawing something everytime WM_PAINT is called.. and thats whats causing it not to clear the Client area.. i tried without drawing anything and it works perfectly..