Advertisement

Clearing the Screen

Started by March 02, 2002 03:00 PM
0 comments, last by GarlandIX 22 years, 9 months ago
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
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