Is it possible to somehow cleverly use PostMessage
, GetMessage
, etc. to queue LIFO messages (assuming both the sender and the receiving message loop cooperate), or would I need to roll my own solution?
In case you're wondering about the use case, it's icon loading. You always want to load the most recently requested icons first. :)