Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending keystrokes to non VFP windows
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00158751
Message ID:
00159618
Vues:
34
>Try this, it worked for me:
>
VK_SNAPSHOT = 0x2C
>
>DECLARE keybd_event IN Win32API ;
>	INTEGER nVirtualKey, ;
>	INTEGER nScanCode, ;
>	INTEGER nFlags, ;
>	INTEGER nExtraInfo
>	
>= keybd_event(VK_SNAPSHOT, 0, 0, 0)
>
>Vlad
>
>> I have, for example, used it to get Print Screen to the clipboard, this, however, no go. Maybe Vlad Tatavu or one of the other C++ guys (I'm C++ illiterate) can point out how.

Hi Vlad,

Yeah, that's what I was saying. I was hoping that you might shed some light on the problem of sending a keyboard character to something like the notepad.
George

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

Click here to load this message in the networking platform