ALL
Paint messages will come in as fast as you let them
There is a class of messages which are generated on demandrather than explicitly posted into a message queue.If you call GetÂMessage or PeekÂMessageand the queue is empty,then the window manager will look to see if one of thesegenerated-on-demand messages is due,messages likeWM_TIMER,WM_MOUSEÂMOVE,and WM_PAINT.Neil wonders,"In that program that called InvalidateÂRect 100,000 times,how many paint messages were generated?"The Zen answer to this question is "Yes."A more practical answer is "As many as you can get."When somebody calls InvalidateÂRect,the window manager adds the spec...
2,434 0 WORK WM_PAINT PAINT MESSAGE MOUSE MOVE