Is there any way to programmatically check the priority of a window messages in its message queue?
For example: Some of window messages, WM_PAINT and
WM_PAINT
The order is defined in GetMessage / PeekMessage documentation:
If no filter is specified, messages are processed in the following order: Sent messages Posted messages Input (hardware) messages and system internal events Sent messages (again) WM_PAINT messages WM_TIMER messages
If no filter is specified, messages are processed in the following order: