How to perform a screen capture programmatically from Visual FoxPro (153003)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft Visual FoxPro for Windows 7.0
- Microsoft Visual FoxPro 8.0
- Microsoft Visual FoxPro 9.0 Professional Edition
This article was previously published under Q153003 SUMMARY
It is not possible to use the KEYBOARD command in FoxPro to stuff the
keyboard buffer with PrintScrn or Alt+PrintScrn to copy the whole screen or
the active window to the clipboard. This article describes how you can call
the Win32 API function, keybd_event, to get this functionality under
Windows 95 and Windows NT. This functionality, however, is not available
under Windows 3.1 or Windows for Workgroups since the Win32s subsystem does
not contain these API functions.
Modification Type: | Minor | Last Reviewed: | 2/8/2005 |
---|
Keywords: | kb3rdparty KB153003 kbAudDeveloper |
---|
|