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:
00160146
Views:
29
>Cool, thanks for posting that, George.
>
>That's very similar to what I tried to do, but without success. I have the choice of blaming it on the beta I was using or my own stupidity. That's left as an exercise for the reader. :)

Hi Mark,

Thanks. The one thing I found out was that using the CAPSLOCK() function to toggle the key state wasn't reliable. So how cool it is is subject to question.

I've just finished reading one of Vlad's posts and he makes some excellent points on sending the key codes. I'm gonna take (steal?:-)) some of his stuff, and work some more with this during the coming week. Maybe get around to playing with SendMessage(). I think using the keybd_event() is not esthetically pleasing.
George

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

Click here to load this message in the networking platform