Jump to content
  • Advertisement


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


Text Input Problem

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

How can I get the actual characters when some one types, e.g. while someone is typing in their nick when he wants to connect to a multiplayer game. We''re using DirectInput for keyboard inputs but I''m not sure if DirectInput can actually return the characters. Plz Help, THX --------------- Gaming is Life ---------------

Share this post

Link to post
Share on other sites

You can capture, for text input, the WM_CHAR message within your Winproc function of your window, and route the extracted char to your GUI or wherever you need the input.

Mfg Impz0r

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!