SHORT GetAsyncKeyState(int vKey);. 例:若判断回车键. if(GetAsyncKeyState(VK_RETURN)&0x8000). (. return 0;. ) 按下Enter 返回值0 ;.
確定! 回上一頁