Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SENDKEYS
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00117024
Message ID:
00117094
Vues:
14
>Is there a function in VFP 5 to send keystrokes to another application as is done in VB?? I know of a DLL that used to work in FPW2.6 but I need this type of function in VFP5
>
>Any ideas guys??
>
>Bernard
>
>Thanks to all those who answered my query on unique Invoice numbers!

I've never tried this, so it's a guess on my part, but the SendMessage() API call can be used to send WM_CHAR, WM_KEYUP, and WM_KEYDOWN messages to a specific window. This window, however, must have keyboard focus.

As I said, I've never tried this, so I don't know the particulars. I can, however, supply additional information (declarations, etc.) if you need it.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform