Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending keystrokes to non VFP windows
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00158751
Message ID:
00159611
Views:
32
Try this, it worked for me:
VK_SNAPSHOT = 0x2C

DECLARE keybd_event IN Win32API ;
	INTEGER nVirtualKey, ;
	INTEGER nScanCode, ;
	INTEGER nFlags, ;
	INTEGER nExtraInfo
	
= keybd_event(VK_SNAPSHOT, 0, 0, 0)
Vlad

> I have, for example, used it to get Print Screen to the clipboard, this, however, no go. Maybe Vlad Tatavu or one of the other C++ guys (I'm C++ illiterate) can point out how.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform