I have a doubt about windows message queue, and message loop. Could any one help me in understanding, or pls provide some reference links.
If no message in windows application message queue, then will message loop still continuously runs?
If runs then, does application get hangs? since loop is continuously happening? How does it works?
Thanks, hara
GetMessage()
will block until a message arrives on the queue.
This quote:
If the queue is empty, the function blocks until another message is queued.
is from Window Messages.