I am learning c++ and I want to create a simple application with 2 textboxes
The basic c++ win32 project in VS2005 already contains a form,
how can i add a two textboxes into it
thanks for help
Visual C++ General
I am learning c++ and I want to create a simple application with 2 textboxes
The basic c++ win32 project in VS2005 already contains a form,
how can i add a two textboxes into it
thanks for help
I need to make it specific with win32
I already dealed with win32 api in VB.NET and I know basicaly how it works
however i didn't success to make it in C++
When you have everything with you .like a form application then wat's the problem. Simply use CEdit class and call it's Create Method .Nothing else you have to do. See if you want to Create a Pure Win32 Application so will suggest you first just use some good books like charles petzold etc and read the books then gave a try by yourself.
Thanx
As Einar has said, a C++ Win32 project creates a window, which is not called a form.
I think you want to use CreateWindow to create an edit box. Look at the documentation of CreateWindow. You can try something such as the following in the WM_CREATE handler. You can use the resource view to create symbols such as ID_CONTROLID. I hope you are interested in spending time reading the documentation; you have a lot to learn but this is not difficult if you are willing to spend the time to learn.