Thread: Best Language for GUIs?

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    204

    Best Language for GUIs?

    What's the best language for doing GUIs? VB? Java? Is it practical to do GUIs in C++?

  2. #2
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273
    Define what you mean by "doing GUIs". if you mean writing a GUI application (in Windows), then VB is by far the easiest way to go. While the language itself doesn't (or didn't 8 years ago) offer the features that I need, you can line up all your pretty controls in a window in a couple of minutes.

    If you meant writing a GUI itself, then C++ is probably the way to go.

    I wouldn't say making GUI apps in C++ is impossible, it just requires a fair old bit of practice. You can use dialog resources in a way similar to VB, that is, visually place controls, but your ability to modify the properties of each control is much more limited and has to be done programatically (in code).

    Me, I create the windows and controls on the fly and get them looking the way I want them to using trial and error. These days I can do it almost as fast as I used to in VB.

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    204
    I meant making GUIs for Windows. My C++ book makes no mention fo them.

  4. #4
    Registered User
    Join Date
    Mar 2006
    Posts
    6
    yeah you gotta use the Win32 API to use GUI apps in Windows. its not in the C++ language itself implemented as it is a cross-platform language.
    the WinMain() function is the basis for creating windows for windows.
    have a look here http://gameprogrammer.org/main.php?page=tutorials&no=11

  5. #5
    Registered User mrafcho001's Avatar
    Join Date
    Jan 2005
    Posts
    483
    http://www.winprog.org/tutorial/

    Give that a brief look.
    My Website
    010000110010101100101011
    Add Color To Your Code!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What language did they make Java in?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 07-03-2005, 04:18 PM
  2. Strange loop
    By D@rk_force in forum C++ Programming
    Replies: 22
    Last Post: 12-18-2004, 02:40 PM
  3. assembly language...the best tool for game programming?
    By silk.odyssey in forum Game Programming
    Replies: 50
    Last Post: 06-22-2004, 01:11 PM
  4. Language of choice after C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 47
    Last Post: 06-15-2004, 01:20 AM
  5. Languages dying
    By Zewu in forum A Brief History of Cprogramming.com
    Replies: 31
    Last Post: 07-29-2003, 10:08 AM