 |
VkKeyScan Add comment W32 Constants Translate this page |
 |
 |
|
Translates a character to the corresponding virtual-key code and shift state for the current keyboard. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
SHORT VkKeyScan(
TCHAR ch
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE SHORT VkKeyScan IN user32;
INTEGER ch
|
 |
 |
 |
| Parameters: |
 |
ch
[in] Specifies the character to be translated into a virtual-key code. |
 |
 |
| Return value: |
 |
| If the function succeeds, the low-order byte of the return value contains the virtual-key code and the high-order byte contains the shift state, which can be a combination of bits. |
 |
 |
| My comment: |
 |
1=Either SHIFT key is pressed.
2=Either CTRL key is pressed.
4=Either ALT key is pressed.
8=The Hankaku key is pressed
16=Reserved (defined by the keyboard layout driver).
32=Reserved (defined by the keyboard layout driver).
|
 |
 |
| Word Index links for the VkKeyScan : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2006-06-28 16:35:05 | | Modified: | 2006-06-28 16:36:57 | Visited in last 7 days: 21 |