Jump to content
  • Advertisement


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

Disabling caps lock

This topic is 6339 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

Guest Anonymous Poster
You can''t. Why would you want to?

Do you perhaps mean to turn caps lock off rather than actually disabling it? In that case GetKeyState will tell you the current status and keybd_event can be used to toggle the state. There''s some sample code in MSDN to toggle it, query for "caps lock and toggle".

IMHO you shouldn''t go changing such things on the user. They turned it on, they may have a good reason.


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!