Jump to content
  • Advertisement

Archived

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

s0lus

WM_CHAR??? HELP!!!

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

ok im new to using opengl and i wanted to have my program take in a string and then display it....very simple...how would i go about doing this...i know i have to use WM_CHAR but could someone give an example how to write and use it for this purpose...im very confused about this and any help would be greatly appreciated

Share this post


Link to post
Share on other sites
Advertisement
case VK_DOWN:
{
keys[256] = TRUE;
glPrint("%d",keys[VK_DOWN]);
}

case VK_UP:
{
keys[256] = FALSE;
}

Share this post


Link to post
Share on other sites
now...if that records the keystrokes...how am i able to use that/display it?

Share this post


Link to post
Share on other sites
i mean, i tried what you said....and all i seemed to get was input of ''only'' ones everytime the keyboard was hit....

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!