Archived

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

Caesar

WM_KEYUP

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