Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print Screen
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00164942
Message ID:
00171083
Views:
32
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform