Clearing the Screen
Is there any easy way to clear the screen in a Windows(not console) program? something like clrscr() in console programs?
------------------------------
If someone asks you "A penny for your thoughts" and you put your two cents in, do you get change?
------------------------------BASIC programmers don't die, they just GOSUB and don't return.
1. Blit into the client area with the blit type BLACKNESS
2. Use ::FillRect() with a solid brush over the client area
Forever trusting who we are
And nothing else matters - Metallica
Edited by - Gabriel Fleseriu on March 2, 2002 4:21:52 PM
BitBlt(hdc, 0, 0, cx, cy, NULL, 0, 0, BLACKNESS);
2. Use ::FillRect() with a solid brush over the client area
Forever trusting who we are
And nothing else matters - Metallica
Edited by - Gabriel Fleseriu on March 2, 2002 4:21:52 PM
Forever trusting who we areAnd nothing else matters - Metallica
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement