UpdateWindow发出WM_PAINT消息的频率是多少

来源:百度知道 编辑:UC知道 时间:2024/06/05 11:36:02
都说是“不断地发出”,频率是多少?

啊? 谁说是“不断发出”?

MSDN的说法:
The function sends a WM_PAINT message directly to the window procedure of the specified window, bypassing the application queue. If the update region is empty, no message is sent.
相当于直接调用相应的消息处理函数而不通过消息队列, 所以确保函数调用到。 没有“不断发出”这回事