VC++中,消息事件WM_COMMAND格式的具体意思是什么?
caseWM_COMMAND:wmID=LOWORD(wParam);wmEVENT=HIWORD(wParam);switch(wmID){caseIDM_ABOUT:...
case WM_COMMAND: wmID =LOWORD(wParam); wmEVENT=HIWORD(wParam); switch (wmID) { case IDM_ABOUT: ... break; case IDM_EXIT: ... break; default: return DefWindowProc(hWnd,message,wParam,lParam); }主要是下面语句体的意思,初学者,看不懂,多指教啊!case IDM_ABOUT: ... break; case IDM_EXIT: ... break; default: return DefWindowProc(hWnd,message,wParam,lParam); }
展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询