www.pudn.com > 截取程序消息的DLL和使用例子GetMSG.rar > getmsg.h


/* InstGetMsg: 安装截取某个窗口的某个消息 
 * fInstall: TRUE-安装,FALSE-撤消安装 
 * hWnd: 接收消息的窗口,即截取到某个窗口的消息后再转发到hWnd窗口 
 * msg: 要截取哪个消息 
 * pclass: 要截取的窗口类型 
 * pcaption: 要截取的窗口标题,和className必须其中一个不为0 
 */ 
 
int __stdcall InstGetMsg(BOOL fInstall, char *pclass, char *pcaption, UINT msg, HWND hWnd);