>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)