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:
00160196
Views:
33
>Thanks. The one thing I found out was that using the CAPSLOCK() function to toggle the key state wasn't reliable.

Ha! Now I see that CAPSLOOK can be used to set the caps status, not only to get it! Thanks! Why is it unreliable? It works for me.

>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.

Take it, take it! There's nothing to steal there! :))

>Maybe get around to playing with SendMessage(). I think using the keybd_event() is not esthetically pleasing.

Why "not esthetically pleasing"? IMHO, the "keybd_event" name is self-documented, while SendMessage is not, in this case.

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform