As we have seen recently, thread messages are eaten by modal loops
because they have nowhere to go when dispatched.
However, there is a way to see them before they vanish,
provided the modal loop is cooperative.
The WH_MSGFILTER message hook allows you to receive messages
the CallMsgFilter function.
Fortunately, all the modal ...