c++ GetAsyncState() 函数

函数原型 SHORT GetAsyncKeyState(int vKey); 例:若判断 回车键 if(GetAsyncKeyState(VK_RETURN)&0x8000) ( return 0; ) 按下Enter 返回值 0 ; 附其他常用键位:VK_LBUTTON 鼠标左键 0x01 VK_
posted @ 2019-10-28 22:15  YZFHKMS-X  阅读(617)  评论(0编辑  收藏  举报