Jump to content
  • Advertisement
Sign in to follow this  

How can I input text into my WINAPI program???

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

So I'v cooked up a nice windows program using MSVC++ 6.0. It is a project using the windows API(not MFC), it uses openGL to showcase Linear Transformations ... blah blah blah. At this point, I need the user to be able to enter numerical data( and store it in a array ). Something that would be trivial with a console app, but seems impossible with a GUI app. I'v looked EVERYWHERE!!! for info on how to accomplish this simple task-- and found NOTHING !!!!! Please can you help me.

Share this post


Link to post
Share on other sites
Advertisement
Why don't you create an Edit control in order to receive user input. If you just want to get the key stroke event, you can handle WM_KEYDOWN, WM_CHAR...etc

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!