Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I activate the taskbar in XP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Divers
Thread ID:
01233120
Message ID:
01233159
Vues:
8
This one is better, sending CTRL+ESC keystroke:
http://www.devx.com/vb2themax/Tip/18342

Translated into VFP:
DECLARE keybd_event IN user32;
	SHORT bVk, SHORT bScan, INTEGER dwFlags,;
	INTEGER dwExtraInfo

#DEFINE KEYEVENTF_KEYUP 2
#DEFINE vbKeyControl 17
#DEFINE vbKeyEscape 27

= keybd_event(vbKeyControl, 0, 0, 0)
= keybd_event(vbKeyEscape, 0, 0, 0)
DOEVENTS

= keybd_event(vbKeyControl, 0, KEYEVENTF_KEYUP, 0)
= keybd_event(vbKeyEscape, 0, KEYEVENTF_KEYUP, 0)
DOEVENTS
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform