handling keyboard input in the message handler

Started by
12 comments, last by Merc22 23 years, 1 month ago
yes it will be hard but i dont really have a choice

thanx for the info man
i owe u big time
Advertisement
quote:Original post by Darkor

case WM_CHAR:
switch((char)wParam)
{
case ''c'':
break;
}

This would definitely work but it won''t test for enter keys and the like.


That will work for enter keys and the like, you just need to know the ascii character code for them.

Really?

Havn''t done that b4...
didn''t know that...
I''ll check it out thanx
i believe the scan code for enter is 13
im not sure though

This topic is closed to new replies.

Advertisement