virtual BOOL OnMessagePending( const MSG* pMsg );
Return Value
Nonzero on success; otherwise 0.
Parameters
pMsg
Pointer to the pending message.
Remarks
Called by the framework to process messages while an OLE call is in progress.
When a calling application is waiting for a call to be completed, the framework calls OnMessagePending with a pointer to the pending message. By default, the framework dispatches WM_PAINT messages, so that window updates can occur during a call that is taking a long time.
You must register your message filter by means of a call to Register before it can become active.
COleMessageFilter Overview | Class Members | Hierarchy Chart
See Also COleMessageFilter::Register, AfxOleInit, CWinApp::InitInstance