Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print Screen
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00164942
Message ID:
00171083
Vues:
33
>About the best you can do is the active window (includes VFP desktop). Here's how:
>#define VK_SNAPSHOT 44
>DECLARE keybd_event IN Win32API;
>  SHORT bVk, SHORT bScan, INTEGER dwFlags, INTEGER deExtraInfo
>* Active Window
>= keybd_event(VK_SNAPSHOT, 0, 0, 0)
>* Windows desktop
>= keybd_event(VK_SNAPSHOT, 1, 0, 0)
>hth,

Hi George,

Do you know if there is some way use keybd_event to capture the active form? Using the 'Active Window' alternative above captures the main window of FoxPro.

Thanks for sharing your knowledge...
(using VFP 3.0 for Win & Mac)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform