添加一个新消息:
const UINT wm_Find = RegisterWindowMessage(FINDMSGSTRING);
然后添加函数定义和宏映射
afx_msg long OnFind(WPARAM wParam,LPARAM lParam);
ON_REGISTERED_MESSAGE(wm_Find, OnFind)
编译时出现下面的错误:
error C2440: 'type cast' : cannot convert from 'long (__cdecl )(unsigned int,long)' to 'long (__thiscall CWnd::)(unsigned int,long)'
请问是怎么回事,这段代码我是根据MSDN改编过来的