 |
GetAsyncKeyState ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The GetAsyncKeyState function determines whether a key is up or down at the time the function is called, and whether the key was pressed after a previous call to GetAsyncKeyState. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
SHORT GetAsyncKeyState(
int vKey // virtual-key code
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GetAsyncKeyState IN user32;
INTEGER vKey
|
 |
 |
 |
| Parameters: |
 |
vKey
[in] Specifies one of 256 possible virtual-key codes.
|
 |
 |
| Return value: |
 |
| If the function succeeds, the return value specifies whether the key was pressed since the last call to GetAsyncKeyState, and whether the key is currently up or down. |
 |
 |
| My comment: |
 |
| Check list of Virtual-Key Codes on the MSDN. |
 |
 |
| Word Index links for the GetAsyncKeyState : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2002-02-25 22:43:44 | | Modified: | 2011-01-05 09:11:37 | Visited in last 7 days: 61 |