Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Key down or Not
Message
 
To
18/08/2000 07:23:09
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00406551
Message ID:
00406586
Views:
47
>mais comment on s'en sert où dois je la déclarer

Voici un exemple

#DEFINE VK_SHIFT 16
#DEFINE VK_CONTROL 17

*-* La déclaration peut être faite n'importe où
DECLARE SHORT GetKeyState IN Win32API INTEGER KEY

IF GetKeyState(VK_SHIFT) < 0

WAIT WINDOW "Shift key is down" NOWAIT

ELSE

WAIT WINDOW "Shift key is up " NOWAIT

ENDIF
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform