网站首页  词典首页

请输入您要查询的计算机术语:

 

术语 AfxOleGetMessageFilter
释义 AfxOleGetMessageFilter

COleMessageFilter* AFXAPI AfxOleGetMessageFilter( );

#include <afxwin.h>

返回值:指向当前消息过滤器的指针。

说明:
获得应用程序当前的消息过滤器。调用这个函数可以访问当前从COleMessageFilter继承的对象,正如你调用AfxGetApp可以访问当前的应用程序对象一样。

示例:
COleMessageFilter* pFilter = AfxOleGetMessageFilter();
ASSERT_VALID(pFilter);
pFilter->BeginBusyState();
// 完成一些需要busy状态的操作
pFilter->EndBusyState();

请参阅:COleMessageFilter, AfxGetApp
随便看

 

MFC类库中文详解手册包含4274条MFC类库参考词条,基本涵盖了Microsoft基本类库中的类、全局函数、全局变量和宏的内容,是计算机编程的有利工具。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 12:23:44