各位达人帮帮忙!
我在<<Programming Windows>>发现两处有矛盾,请解答一下:
While processing one message in a window procedure, the program will not be suddenly interrupted by another message.
However, the window procedure could call a function that sends the window procedure another message, in which case the window procedure must finish processing the second message before the function call returns, at which time the window procedure proceeds with the original message. For example, when a window procedure calls UpdateWindow, Windows calls the window procedure with a WM_PAINT message. When the window procedure finishes processing the WM_PAINT message, the UpdateWindow call will return controls back to the window procedure.
前面说消息处理不能打断,后面又说先处理第二个消息,再处理原来的消息,这不就打断了消息处理吗?