The client application is responsible for implementing an OnAppBeginWaitCursor event handler for some of the supported FileNet Application Integration commands. This event handler method should display the application's wait cursor. The OnAppEndWaitCursor method can be used to cancel display of the wait cursor.
HRESULT __stdcall CEventHandler::OnAppBeginWaitCursor()
{
// Display the application's wait cursor.
AfxGetMainWnd()->BeginWaitCursor();
return S_OK;
}