Re: Visual Studio.net
Posted: Mon Oct 18, 2010 11:26 am
You can do that. Let me explain a bit.
Say you are going to make a button. First you will have to define the size, 3D shape, caption in the middle, mouse movements, 3D effects for hovering and click, etc.... You will have to use a Graphic Library (Windows uses GDI) for drawing lines, 3D shapes, etc... Also, people use different sizes of buttons, captions, etc... so it should be modularized where people can customise as required. This is just a button I talked about. How many controls you need to code yourself. Labels, Text boxes, list boxes, combo boxes, etc....
To create your own control set will take years of hard work I'm sure. So the question is why do you spend such a long time which you already have such controls free of charge. When you use a framework like wxWidgets, you can concentrate on coding the core of your program rather than wasting time for things that are already available (mostly free).
Why wxWidgets?
If you use Visual Studio, these controls are available to drag and drop. Say you need to run a program that you have created on Windows on Linux... The button drawing codes are not the same on Windows and Linux. So you will have to spend considerable time of replacing buttons, text boxes, etc... on Linux and then compile it. That's is where wxWidgets comes to help. If you use wxWidgets to create a button, then it will handle operating systems differences by its libraries. On Windows, it will call Windows button routines and on Linux it will call Linux button routines. If you use a development platform like Dev C++ with wxWidgets, that means your application will work on Windows, Linux and Mac OS just by a simple recompilation.
Say you are going to make a button. First you will have to define the size, 3D shape, caption in the middle, mouse movements, 3D effects for hovering and click, etc.... You will have to use a Graphic Library (Windows uses GDI) for drawing lines, 3D shapes, etc... Also, people use different sizes of buttons, captions, etc... so it should be modularized where people can customise as required. This is just a button I talked about. How many controls you need to code yourself. Labels, Text boxes, list boxes, combo boxes, etc....
To create your own control set will take years of hard work I'm sure. So the question is why do you spend such a long time which you already have such controls free of charge. When you use a framework like wxWidgets, you can concentrate on coding the core of your program rather than wasting time for things that are already available (mostly free).
Why wxWidgets?
If you use Visual Studio, these controls are available to drag and drop. Say you need to run a program that you have created on Windows on Linux... The button drawing codes are not the same on Windows and Linux. So you will have to spend considerable time of replacing buttons, text boxes, etc... on Linux and then compile it. That's is where wxWidgets comes to help. If you use wxWidgets to create a button, then it will handle operating systems differences by its libraries. On Windows, it will call Windows button routines and on Linux it will call Linux button routines. If you use a development platform like Dev C++ with wxWidgets, that means your application will work on Windows, Linux and Mac OS just by a simple recompilation.