Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Touchscreen - Deal with windows virtual keyboard
Message
De
25/11/2010 15:14:40
 
 
À
25/11/2010 13:11:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01490496
Message ID:
01490505
Vues:
52
Here one very rough example:
#define WM_SYSCOMMAND 0x0112
#define SC_CLOSE      0xF060

RUN/n OSK && You could change it with ShellExecute :-)

DECLARE INTEGER FindWindow  IN WIN32API STRING, STRING
DECLARE INTEGER SendMessage IN WIN32API INTEGER, INTEGER,INTEGER, INTEGER
oskhWnd  = FindWindow(NULL,"On-Screen Keyboard")
? oskhWnd 


INKEY(1)
SendMessage(oskhWnd, WM_SYSCOMMAND, SC_CLOSE, 0) && Close the OSK
No error handling here :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform