Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print Screen
Message
De
31/03/1998 09:35:19
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00088327
Message ID:
00088394
Vues:
34
>>I am using VFP30 in WinNT 4.0 and would like to add a print screen feature to my application. Any ideas on how to do this would be appreciated. TIA
>>
>>drb
>
>David,
>
>I assume that you're trying to capture the screen into the clipboard. If so, you can try:
>
>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.
Great George. Works well.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform