Navigation:  Reference > Utility Functions >

ProcessMessages

Previous pageReturn to chapter overviewNext page

ProcessMessages()

Processes Windows application messages waiting in queue.  Call this function just prior to calling processor intensive Alien API calls to allow the application to process Paint (WM_PAINT) and other messages so that the application does not appear to hang.   For example, call this function prior to calling methods to create surface maps.