Information générale
Catégorie:
Fonctions Windows API
>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement