Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print screen
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00383119
Message ID:
00383166
Vues:
15
>Is there any system Variable or a way to print the whole screen?
>Although I know that pressing the Print Screen on the keyboard copies to the clipboard, the user does not. So they want to have that in the menu.
>can we do that?

Edgar,

You could use the keybd_event() API call to do this. It would copy the the screen into the clipboard.
#define VK_SNAPSHOT       0x2C
DECLARE keybd_event IN Win32API;
  SHORT bVk, SHORT bScan, INTEGER dwFlags, INTEGER deExtraInfo
= keybd_event(VK_SNAPSHOT, 0, 0, 0)
This is, however, the entire screen.
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