[Quote=引用 4 楼 abc20002929 的回复:]
The client area is marked for painting when the next WM_PAINT message occurs.
1.窗口区域仅仅被标记为重绘,但并未马上重绘,要等WM_PAINT消息。
Windows sends a WM_PAINT message whenever the CWnd update region is not empty and t……
[/Quote]
The client area is marked for painting when the next WM_PAINT message occurs.
1.窗口区域仅仅被标记为重绘,但并未马上重绘,要等WM_PAINT消息。
Windows sends a WM_PAINT message whenever the CWnd update region is not empty and there are no other messages in the application queue for that window.
2.WM_PAINT在消息队列里无其他任何消息时才发送。
也就是说,重绘发生在你的Textout之后