帮助文件:
GetKeyState(KeyName [, "P" 或 "T"]):与 GetKeyState 命令(它在按下时返回 D 而弹起时返回 U)不同,此函数在按下时返回 true(1)而弹起时返回 false(0)。如果 KeyName 无效, 则返回空字符串. 请参阅 GetKeyState 了解其他返回值和用法.
======
GetKeyState 和 GetKeyState 有什么字母不同?
[有解]GetKeyState 和 GetKeyState 有什么字母不同?
Moderators: tmplinshi, arcticir
[有解]GetKeyState 和 GetKeyState 有什么字母不同?
Last edited by yaa69455 on 01 Jun 2015, 12:08, edited 1 time in total.
Re: GetKeyState 和 GetKeyState 有什么字母不同?
帮助文件说的意思是:
GetKeyState() 函数与 GetKeyState 命令不同...
GetKeyState() 函数与 GetKeyState 命令不同...
GetKeyState, OutputVar, KeyName [, Mode] <-- 这是命令
KeyIsDown := GetKeyState("KeyName" [, "Mode"]) <-- 这是函数
Who is online
Users browsing this forum: No registered users and 3 guests