Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Touchscreen - Deal with windows virtual keyboard
Message
From
25/11/2010 15:14:40
 
 
To
25/11/2010 13:11:50
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01490496
Message ID:
01490505
Views:
51
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform