CodePudding user response:
What is the output? TextOut?Use a window height divided by your line spacing, can work out how much can display the entire line
CodePudding user response:
I want to ask the key point is how to refresh window and output againCodePudding user response:
A code is bestCodePudding user response:
This not, depends on what exactly do you use the level of functionCodePudding user response:
TextOut!CodePudding user response:
The first line of the output after a line, and then each newline output, when at the bottom of the output to a window, to refresh the screen, keep the first line of text, output the next lineCodePudding user response:
Trouble eldest brother, WIN32 it's not that easyCodePudding user response:
When the window is full, with InvalidateRect refresh window, and then start over, according to the third parameter is set to TRUE, InvalidateRect drawing will erase the background whenBOOL InvalidateRect (
__in HWND HWND,
__in const the RECT * lpRect,
__in BOOL bErase
);