Jump to content
  • Advertisement

Archived

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

Caesar

WM_KEYUP

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

How do I get the exact ascii character (like ''a'' ''A'' '','' ''5'' etc) from WM_KEYUP and/or WM_KEYDOWN? Thanks

Share this post


Link to post
Share on other sites
Advertisement
Fine, that works, but now I''m not sure how to get the repeat count out of the variable posted to me with the WM_CHAR message. I was using WM_KEYUP because of that

Share this post


Link to post
Share on other sites
Pass the code from WM_KEY* messages to GetKeyNameText().

The main drawback is I don''t think you''ll get any processing for users of the IME (Japanese, Chinese, Korean etc).


--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!