//缓解快速开图时,键盘打字卡住的问题
MSG msg;
while(::PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
{
::TranslateMessage(&msg);//传递键盘消息
::DispatchMessage(&msg);//传递窗口消息
}
Sleep(150);
缓解快速开图时,键盘打字卡住的问题
最新推荐文章于 2024-12-04 12:16:14 发布
//缓解快速开图时,键盘打字卡住的问题
MSG msg;
while(::PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
{
::TranslateMessage(&msg);//传递键盘消息
::DispatchMessage(&msg);//传递窗口消息
}
Sleep(150);