重复计数是讯息所表示的按键次数,大多数情况下,重复计数设定为1。不过,如果按下一个键之后,您的视窗讯息处理程式不够快,以致不能处理自动重复速率(您可以在“控制台”的“键盘”中进行设定)下的按键讯息,Windows就把几个WM_KEYDOWN或者WM_SYSKEYDOWN讯息组合到单个讯息中,并相应地增加重复计数。WM_KEYUP或WM_SYSKEYUP讯息的重复计数总是为1。
指定了重复计数。该值为用户按住键时产生的重复击键次数。
Specifies the repeat count. The value is the number of times the keystroke is repeated as a result of the user holding down the key.
重复计数器(116)被配置用于控制在下一个过渡之前产生的重复的像素值的数目。
A repeat counter (116) is configured to control a number of the repeated pixel values produced before a next transition.
如果重复调用上述代码,此计数可能会达到目的地上配置的搁置阈值,此时这些消息就将重新进行排队,暂时不再能进行接收。
If you call the above code repeatedly, this count may reach the backout threshold configured on the destination, at which point the messages will be re-queued and no longer available for receipt.
应用推荐