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:
00159618
Views:
33
>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.

Hi Vlad,

Yeah, that's what I was saying. I was hoping that you might shed some light on the problem of sending a keyboard character to something like the notepad.
George

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

Click here to load this message in the networking platform