Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to KEYBOARD '{PRINT SCREEN}' ???
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00086692
Message ID:
00086717
Vues:
36
>Can anyone tell me the KEY LABEL for the Print screen key?
>
>Thanks

Larry,

Try this:
DECLARE keybd_event IN Win32API;
  SHORT bVk, SHORT bScan, INTEGER dwFlags, INTEGER deExtraInfo
lnsnapshot = 44
* According the Win32.hlp copies the full screen
= keybd_event(lnsnapshot, 0, 0, 0)
* According the Win32.hlp copies the active window
= keybd_event(lnsnapshot, 1, 0, 0)
I've found that the results don't always match the documentation, but the screen is sent to the clipboard.

hth,
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