• Advertisement

Archived

This topic is now archived and is closed to further replies.

Reading the CapsLock key...

This topic is 5535 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I know this must be really simple but the things on MSDN i find about it seem to be about setting it value not reading it lol... I just wanna know if Caps lock is on or off.. Thanks

Share this post


Link to post
Share on other sites
Advertisement
Check for the low order bit of GetKeyState(VK_CAPS_LOCK).
The hi order bit tells you whether the key''s actually held down.

Share this post


Link to post
Share on other sites

  • Advertisement