home     download     screen shots     bugs     mailing list     example output     generated MFC docs     help     tools and utilities


 Overview   Project   Class   Tree   Index 
MFC Class Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

MFC
Class COleMessageFilter

CObject
   |
   +--CCmdTarget
         |
         +--COleMessageFilter

   in AFXOLE.H

class COleMessageFilter
extends CCmdTarget

COleMessageFilter (implements IMessageFilter)


Field Summary
protected BOOL m_bEnableBusy
          
protected BOOL m_bEnableNotResponding
          
protected BOOL m_bRegistered
          
protected BOOL m_bUnblocking
          
protected LONG m_nBusyCount
          
protected DWORD m_nBusyReply
          
protected DWORD m_nRetryReply
          
protected DWORD m_nTimeout
          
   
Fields inherited from class CCmdTarget
messageMap, commandMap, dispatchMap, connectionMap, interfaceMap, eventsinkMap, m_dwRef, m_pOuterUnknown, m_xInnerUnknown, m_xDispatch, m_bResultExpected, m_xConnPtContainer
   
Fields inherited from class CObject
classCObject
 
Constructor Summary
COleMessageFilter()
          
virtual ~COleMessageFilter()
          
 
Method Summary
 virtual void BeginBusyState()
          
 void EnableBusyDialog( BOOL bEnableBusy = TRUE )
          
 void EnableNotRespondingDialog( BOOL bEnableNotResponding = TRUE )
          
 virtual void EndBusyState()
          
 virtual BOOL IsSignificantMessage( MSG* pMsg )
          
 virtual int OnBusyDialog( HTASK htaskBusy )
          
 virtual BOOL OnMessagePending( const MSG* pMsg )
          
 virtual int OnNotRespondingDialog( HTASK htaskBusy )
          
 BOOL Register()
          
 void Revoke()
          
 void SetBusyReply( SERVERCALL nBusyReply )
          
 void SetMessagePendingDelay( DWORD nTimeout = 5000 )
          
 void SetRetryReply( DWORD nRetryReply = 0 )
          
   
Methods inherited from class CCmdTarget
GetIDispatch, FromIDispatch, IsResultExpected, EnableAutomation, EnableConnections, BeginWaitCursor, EndWaitCursor, RestoreWaitCursor, EnumOleVerbs, DoOleVerb, OnCmdMsg, OnFinalRelease, IsInvokeAllowed, EnableTypeLib, GetTypeInfoOfGuid, GetDispatchIID, GetTypeInfoCount, GetTypeLibCache, GetTypeLib, GetNotSupported, SetNotSupported, GetRoutingView, GetRoutingFrame, GetRoutingView_, GetRoutingFrame_, GetMessageMap, GetCommandMap, GetDispatchMap, GetConnectionMap, GetInterfaceMap, GetEventSinkMap, EnableAggregation, ExternalDisconnect, GetControllingUnknown, InternalQueryInterface, InternalAddRef, InternalRelease, ExternalQueryInterface, ExternalAddRef, ExternalRelease, GetInterface, QueryAggregates, OnCreateAggregates, GetInterfaceHook, GetStandardProp, SetStandardProp, GetEntryCount, GetDispEntry, MemberIDFromName, GetStackSize, PushStackArgs, CallMemberFunc, OnEvent, GetEventSinkEntry, GetExtraConnectionPoints, GetConnectionHook
   
Methods inherited from class CObject
GetRuntimeClass, new, new, delete, IsSerializable, IsKindOf, Serialize
 

Field Detail

m_bEnableBusy

protected BOOL m_bEnableBusy;

m_bEnableNotResponding

protected BOOL m_bEnableNotResponding;

m_bRegistered

protected BOOL m_bRegistered;

m_bUnblocking

protected BOOL m_bUnblocking;

m_nBusyCount

protected LONG m_nBusyCount;

m_nBusyReply

protected DWORD m_nBusyReply;

m_nRetryReply

protected DWORD m_nRetryReply;

m_nTimeout

protected DWORD m_nTimeout;


Constructor Detail

COleMessageFilter

public COleMessageFilter();

~COleMessageFilter

public virtual ~COleMessageFilter();


Method Detail

BeginBusyState

public virtual void BeginBusyState();

EnableBusyDialog

public void EnableBusyDialog( BOOL bEnableBusy = TRUE );

EnableNotRespondingDialog

public void EnableNotRespondingDialog( BOOL bEnableNotResponding = TRUE );

EndBusyState

public virtual void EndBusyState();

IsSignificantMessage

public virtual BOOL IsSignificantMessage( MSG* pMsg );

OnBusyDialog

public virtual int OnBusyDialog( HTASK htaskBusy );

OnMessagePending

public virtual BOOL OnMessagePending( const MSG* pMsg );

OnNotRespondingDialog

public virtual int OnNotRespondingDialog( HTASK htaskBusy );

Register

public BOOL Register();

Revoke

public void Revoke();

SetBusyReply

public void SetBusyReply( SERVERCALL nBusyReply );

SetMessagePendingDelay

public void SetMessagePendingDelay( DWORD nTimeout = 5000 );

SetRetryReply

public void SetRetryReply( DWORD nRetryReply = 0 );

 Overview   Project   Class   Tree   Index 
MFC Class Library
CppDoc v2.3.1
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD