Export (0) Print
Expand All

CWinThread::PumpMessage

Contains the thread's message loop.

virtual BOOL PumpMessage( );

If the function retrieved a message other than WM_QUIT, the return value is nonzero.

If the function retrieved the WM_QUIT message, the return value is zero.

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.

Header: afxwin.h

Community Additions

ADD
Show:
© 2014 Microsoft