COleMessageFilter * AFXAPI AfxOleGetMessageFilter ( );
# include lt;afxwin.h>
Wartość zwracany
Wskaźnik bieżącego filtru wiadomości.
Uwagi
Pobiera bieżący filtr wiadomości aplikacji. Wywołanie tej funkcji dostępu bieżącego COleMessageFilter-pochodnych obiekt, tak samo, jak możesz wywołać AfxGetApp dostępu do bieżącego obiektu aplikacji.
Przykład
COleMessageFilter * pFilter = AfxOleGetMessageFilter();
ASSERT_VALID(pFilter);
pFilter BT;BeginBusyState();
/ / wykonać czynności wymagające stan Zajęty
pFilter - > EndBusyState()
Zobacz też COleMessageFilter, AfxGetApp