Sign in to follow this  
stick_man

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

Recommended Posts

stick_man    122
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
KevinLee    127
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this