|
发表于 2010-7-23 17:02:00
|
显示全部楼层
Re:龙书中GetAsyncKey函数问题
看文档啊,getasynckey可以检测2种状态:
If the function succeeds, the return value specifies whether the key was pressed since the last call to GetAsyncKeyState, and whether the key is currently up or down. If the most significant bit is set, the key is down, and if the least significant bit is set, the key was pressed after the previous call to GetAsyncKeyState. |
|