The information in this article applies to:
SUMMARYIt 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. MORE INFORMATIONThe following commands register the keybd_event function and set up a variable that will be passed each time to the function:
The following commands copy the full windows desktop to the clipboard (the
equivalent of PrintScrn):
The following commands copy the active application window to the clipboard (the equivalent of ALT+PrintScrn):
Additional query words: VFoxWin
Keywords : kb3rdparty kbVFp300 kbVFp600 FxprgGeneral |
Last Reviewed: October 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |