How to clear screen???
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I know I can use GetDocument->UpdateAllViews(0) to clear the screen in VIEW.CPP ..... but how can i clear the screen if my function is located in another non-MFC file??????? I just use something liked ::InvalidateRect(Handler, NULL, FALSE); to update the view..... Can you help me???? What i want to do is keep printing a list of number.....for example, 1 2 3 4 5 6 7 and the program has to compare the previous number....if the previous number is 7...then I have to erase the 7 and put an A there......but I have to display "7" first...then when it's going to display another .....let say 8....then the list should be 1 2 3 4 5 6 A 8