Supported Browsers Home   
EVT_post Previous   
EVT_scanCode Next   
External Functions Up   

EVT_repeatCount

Macro to extract the repeat count from a message.

Declaration

short EVT_repeatCount(
    ulong message)

Prototype In

event.h

Parameters

message

Message to extract repeat count from

 

Return Value

Repeat count extracted from the message.

Description

Macro to extract the repeat count from the message field of the event structure. The repeat count is the number of times that the key repeated before there was another keyboard event to be place in the queue, and allows the event handling code to avoid keyboard buffer overflow conditions when a single key is held down by the user. If you are processing a key repeat code, you will probably want to check this field to see how many key repeats you should process for this message.

See Also

EVT_asciiCode, EVT_repeatCount

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com