Determine priority of a window message

后端 未结 2 1645
感情败类
感情败类 2020-12-18 10:20

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

2条回答
  •  盖世英雄少女心
    2020-12-18 10:59

    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

提交回复
热议问题