WinGetMsg operates essentially as a loop that waits for message activity and returns messages to the user. Conceptually the application's code acts as an inverted subroutine of WinGetMsg. This was illustrated in The PM Messaging Environment.

These are the essential steps in WinGetMsg processing:

This processing is illustrated in the following diagram:


[Back] [Next]