This section explains how to perform the following tasks:
Create a message loop
Examine a message queue
Post messages
Send messages