Need Help With Forms!

Hello! Using Visual C++ 2008 I am designing a form. I have a TextBox and a Button and a TextBox2.

My aim is to type something into textbox1, press the button, and have the text appear in TextBox2.

I then want to be able to clear what was written in TextBox1 and type something else and after pressing the button for the second time, I want the new text to appear under the first text in TextBox2.

I am used to doing this in Java and am trying to move to C++, can anyone please point me in the right direction?

Thank you for any answers!
When designing a form you either need to generate a resource file (*.rc) to use, or generate the form at runtime.

If you do this with the usual Windows Desktop API, then here's a good tutorial on standard controls: http://www.winprog.org/tutorial/controls.html

In fact that whole thing is a really good introduction to win32.

If you have the full Visual Studio, then you may wish to try and do this with MFC instead and use some better C++ (the normal API is written for C). If that's the case I've got no idea, sorry. I'm too much of a cheapskate... :P
Topic archived. No new replies allowed.