when a cursor key is pressed, WM_KEYDOWN is received, and when it is released, WM_KEYUP is received. How can I get this same functionality with a character key?

I found the messages WM_CHAR and WM_DEADCHAR, but they dont work like the above messages. Can anyone help?

Thanks, Nick

Recommended Answers

It's down to you to check the state of the shift key and caps locks. So i suggest you do that :P

Chris

Jump to Post

All 3 Replies

actually, you know what? KEYUP and KEYDOWN DO catch letters, but it is registering 'w' && 'W' both as 'W'...only capital...anyone know why that is? or if I can change it?

It's down to you to check the state of the shift key and caps locks. So i suggest you do that :P

Chris

lol...okay, thanks =)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.