开发者

how to reslve the c2660 compiler error for On_WM_MENUSELECT message?

开发者 https://www.devze.com 2023-01-27 15:29 出处:网络
I am using the On_WM_MENUSELECT message 开发者_高级运维for the menu item click event. but at the compiler throws following error.

I am using the On_WM_MENUSELECT message 开发者_高级运维for the menu item click event. but at the compiler throws following error. error C2660: 'CSplashToolBarWnd::OnMenuSelect' : function does not take 4 arguments e:\splashid\splashidtoolbar\splashidtoolbar\splasheditwnd.h 69 SplashIDToolBar


Well, it really does not take 4 arguments:

afx_msg void OnMenuSelect( 
   UINT nItemID, 
   UINT nFlags, 
   HMENU hSysMenu  
);                       // only 3 arguments
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号