Tuesday, July 14, 2009

How do you make objects GUI's with programming languages?

Like C and C++ and stuff just curious?

How do you make objects GUI's with programming languages?
You can use a package like Visual Studio, Delphi, JBuilder or IntelliJ to create Graphical User Interface programs for Windows.





They let you "draw" your Windows forms by dragging elements onto the form and then they guide you in completing the code.





VS supports C# and VB.net (and J#, but you'd be crazy to use that).





Delphi supports Delphi (Object Pascal).





JBuilder and IntelliJ support Java but cost money.





If you're interested in Java, Eclipse is definitely free but you have to write a lot of the code to create your GUI by hand...it's visual design tools aren't as good as the other programs.





Now if you really want to work in C or C++ there are some other tools out there. I find the easiest is Borland's C++ Builder.
Reply:Learn Visual C or Visual C++. They've already written all the code to create scroll boxes and buttons and dialog boxes, all the pieces needed for a GUI. Designing the interface is very drag-%26amp;-drop. You have all the GUI elements on a pallot and you drag them to a form and position and size them.





The you go on to write the code to tell the system what to do with thses buttons and boxes and so on.
Reply:You use a library (such as GTK, FOX, or WFC). The specifics depend on which library you use.


No comments:

Post a Comment