wxWidgets in Dev C++ - Lesson 1 of n - Installation

The first program you make when you start learning a programming language is almost certainly a console/terminal based program. Almost all programming language books and tutorials start by introducing the topic of programming through easy and clear examples that try not to touch the topic of GUI development. Particularly with Windows, GUI development for native programming languages is not an easy task. Perhaps the exposure to IDEs such as Netbeans and Visual Studio made the programming learner hesitant to even contemplate drawing a GUI interface by hand with a text-editor. Such IDEs have GUI editors with easy and intuitive interfaces that deal with the ugly work behind writing GUI code.

Having said that, what if you are a C/C++ developer and you want to finally transition to the GUI world? You have two options, either learn the WIN32 API and deal with the complexities associated with using WIN32 APIs or use one of the available open-source GUI frameworks such as GTK+ and wxWidgets. I have had the pleasure of using both GTK+ and wxWidgets. wxWidgets compared to GTK+ is slightly easier to use and provides a native look-and-feel as well as the ability to statically link your binaries to the library which could be considered a plus if you don’t want to bother with the distribution issues associated with dynamically-linked libraries. Whilst coding the GUI interface might be easier for you when you use wxWidgets, if the design of the interface is of a higher priority then GTK+ might be a better option due to the availability of GUI designers such as Glade. Glade allows the programmer to visually design the interface and then export an XML file to be fed to the GTK+ library. From a performance standpoint, wxWidgets provides a lighter implementation than GTK+ but that only comes from personal experience with no data to back up this claim.

Assuming I managed to convert you to wxWidgets ;), let’s start our first application by setting up the development environment. Having downloaded and installed Dev C++ version 4.9.9.2, start Dev C++ and click Tools -> Check for Updates/Packages…. Select the devpacks.org community devpack server and click Check for updates. There are several dependencies associated with wxWidget. Select wxWidget version 2.6.1 unicode, you would need to select zlib version 1.2.3,libjped version 6b-4, libpng version 1.2.8 and libtiff version 3.6.1-2.

Once downloaded, the installation process for all the packages should start. Continue normally as you would with any package you install and you will have a new menu in All Programs -> Bloodshed Dev-C++ entitled “wxWidgets” which has the help file. The help file is very important as you will be referring to it constantly throughout the development of any GUI application.

Next
wxWidgets in Dev C++ - Lesson 2 of n - Hello World using the reference manual


Weight Loss With Phentermine

A very nice post thanks for sharing with me.

Consult your doctor before taking any diet pill and inform him about your entire medical history. A patient should strictly follow his/her doctor's advice for dose.

http://www.phenterminehome.com/

Having said that, what if

Having said that, what if you are a C/C++ developer and you want to finally transition to the GUI world? You have two options, either learn the WIN32 API and deal with the complexities associated with using WIN32 APIs or use one of the available open-source GUI frameworks such as GTK+ and wxWidgets.maternity coats | winter coats for women | bomber jacket | wax jackets

Recent comments