title: How can I determine whether a message type is sent or posted?
body: <p>I'm aware that some messages types are sent directly to window procedures, while others are posted to a thread's message queue, but I haven't found any way to determine if a message will be sent or posted.</p>
  
  <p>MSDN is half-helpful; it explained <a href="http://msdn.microsoft.com/en-us/library/ms644927.aspx#nonqueued_messages" rel="nofollow noreferrer">what's going on</a> but the examples it gives are presumably not exhaustive.</p>
  
  <p>Is there a definitive list of sent vs. posted messages, or a way to decide which type a message is?</p>