<C++>消息循环
时间:2014-05-26 10:51:13
收藏:0
阅读:257
GetMessage Function:
BOOL GetMessage(
LPMSG lpMsg,
HWND hWnd,
UINT wMsgFilterMin,
UINT wMsgFilterMax
);
消息循环:
MSG msg; while(GetMessage(&msg,NULL,0,0)) { TranslateMessage(&msg); DispatchMessage(&msg); }
评论(0)