• Advertisement

Archived

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

Getting keys in WIN32

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

Hi again. I''m programming in windows, and i wanna get the pressed key by the user, and prnt them with my opengl font.print function. But how can i take the correct key ( for example, shift+1 = 1) pressed within the "case WM_KEYDOWN: " statement? I''m texting if the shift key is being pressed, then i use toupper()function for letters...and for numbers? is there as easy way or i should do the conversion number by number? (sorry about my poor english :-)

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement