推荐于2018-04-12
展开全部
CWnd::GetCurrentMessage static const MSG* PASCAL GetCurrentMessage( );Return ValueReturns a pointer to the MSG structure that contains the message the window is currently processing. Should only be called when in an OnMessage handler. 你应该是多个按钮共享Clicked事件的处理函数吧?调用下面语句获取当前响应ON_CLICKED消息的控件ID:WORD id=LOWORD(GetCurrentMessage()->wParam);
2013-04-20
展开全部
ID = (int) LOWORD(wParam)
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询