CWinThread::PumpMessage
Contains the thread's message loop.
virtual BOOL PumpMessage( );
Return Value
If the function retrieved a message other than WM_QUIT, the return value is non-zero.
If the function retrieved the WM_QUIT message, the return value is zero.
Remarks
PumpMessage contains the thread's message loop. PumpMessage is called by CWinThread to pump the thread's messages. You can call PumpMessage directly to force messages to be processed, or you can override PumpMessage to change its default behavior.
Calling PumpMessage directly and overriding its default behavior is recommended for advanced users only.
Requirements
Header: afxwin.h