decided to pick up win32 again, and am working on a little program using the GDI. was wondering,how do i clear the window, say if the player wins the game, and wants to start a new one?
any help would be greatly appreciated.
thanks a lot.
decided to pick up win32 again, and am working on a little program using the GDI. was wondering,how do i clear the window, say if the player wins the game, and wants to start a new one?
any help would be greatly appreciated.
thanks a lot.
The idea is to use InvalidateRect() or InvalidateRegion() to force a repaint with the background erased then paint on your clean screen the message you want using TextOut() or DrawText() etc.
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi
thanks a lot, got what i needed.