Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WSH and KEYBOARD
Message
De
31/01/2001 19:24:20
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00470480
Message ID:
00471039
Vues:
43
>First thanks to George and Ed for hints.
>
>I also tried PostMessage() API and keybd_event API but with no luck.
>keybd_event worked for letters but can't send LEFT, UP, HOME DEL, etc. to another VFP application and PostMessage() didn't work at all (in any application).
>

You're aware that some of these are seen not as WM_KEYUP/WM_KEYDOWN but as WM_SYSKEYUP/WM_SYSKEYDOWN actions? Look in the MSDN for the distinction between the two classes of virtual keystrokes used with PostMessage/SendMessage API calls.

>Arto Toikka
>
>P.S. I can do it by modifying the application where I try to send keys but I'd rather like to do general-purpose touchscreen keyboard with wscript.shell or postmessage or keybd_event.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform