關於windows程序的消息循環

把書上看到東西總結一下 一:消息循環 一個windows程序,WinMain函數做爲程序入口,位於主線程。 WinMain中建立了窗口後 使用  while( GetMessage(&msg, NULL, 0, 0) )  {   TranslateMessage (&msg);   DispatchMessage (&msg);  } 開啓了消息循環,注意流程以下: windows給每一個窗口都
相關文章
相關標籤/搜索