684
社区成员
发帖
与我相关
我的任务
分享#define WM_ONMSG WM_APP + 101
LRESULT MyActiveXCtrl::WindowProc(UINT message, WPARAM wParam, LPARAM lParam)
{
switch(message)
{
case WM_ONMSG:
{
AfxMessageBox("拦截到了消息");//此处没有执行
return 0;
}
}
return COleControl::WindowProc(message, wParam, lParam);
}