This method is implemented on the client-side. It is called by ABBYY FineReader Engine when a key is pressed in Image Viewer, Zoom Viewer, Text Editor, Text Validator, or Document Viewer. It delivers to the client the key code, repeat count, and modification keys used. With the help of this method it is possible to cancel the operation.Documentation Index
Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
Use this file to discover all available pages before exploring further.
Syntax
C++
C#
Visual Basic .NET
Parameters
KeyCode [in] Specifies the virtual key code of the key which is pressed. Count [in] Contains the repeat count, the number of times the keystroke is repeated when user holds down the key. Flags [in] Contains the scan code, key-transition code, previous key state, and context code, as shown in the following list:| Value | Description |
|---|---|
| 0-7 | Specifies the scan code. The value depends on the original equipment manufacturer (OEM). |
| 8 | Specifies whether the key is an extended key, such as the right-hand ALT and CTRL keys that appear on an enhanced 101- or 102-key keyboard. The value is 1 if it is an extended key; otherwise, it is 0. |
| 9-12 | Used internally by Windows. |
| 13 | Specifies the context code. The value is 1 if the ALT key is held down while the key is pressed; otherwise, the value is 0. |
| 14 | Specifies the previous key state. The value is 1 if the key is down before the message is sent, or it is 0 if the key is up. |
| 15 | Specifies the transition state. The value is 1 if the key is being released, or it is 0 if the key is being pressed. |
