InfoConnect for Airlines VBA Guide
WaitForControlKey Function (Screen)
wait timeout value (milliseconds). Value of 0 indicates wait indefinitely.
The control key code.
The value to indicate whether the program continues to process other actions.
Waits for the specified control key press.
Syntax
object.WaitForControlKey( _
   ByVal timeout As Long, _
   ByVal keycode As ControlKeyCode, _
   ByVal continueProcess As Boolean _
) As ReturnCode

Parameters

timeout
wait timeout value (milliseconds). Value of 0 indicates wait indefinitely.
keycode
The control key code.
continueProcess
The value to indicate whether the program continues to process other actions.

Return Value

ReturnCode that indicates the success or failure status.
See Also