2010-11-26 44 views

回答

0

好,it really does not take 4 arguments

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

在WTL它需要四arguemets:LRESULT OnMenuSelect(UINT uMsg,WPARAM wParam,LPARAM lParam,BOOL&bHandled)请参阅http://www.ecs.syr.edu/faculty/fawcett/handouts/cse778/WTL/Include/AtlCtrlw.h添加四个争论的问题已解决 – Mahantesh 2010-11-30 08:34:52