Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to KEYBOARD '{PRINT SCREEN}' ???
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00086692
Message ID:
00086717
Views:
32
>Can anyone tell me the KEY LABEL for the Print screen key?
>
>Thanks

Larry,

Try this:
DECLARE keybd_event IN Win32API;
  SHORT bVk, SHORT bScan, INTEGER dwFlags, INTEGER deExtraInfo
lnsnapshot = 44
* According the Win32.hlp copies the full screen
= keybd_event(lnsnapshot, 0, 0, 0)
* According the Win32.hlp copies the active window
= keybd_event(lnsnapshot, 1, 0, 0)
I've found that the results don't always match the documentation, but the screen is sent to the clipboard.

hth,
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform