Thread: Which one is better gtk+, mfc, wxWidget, .net

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    42

    Which one is better gtk+, mfc, wxWidget, .net

    I planning to learn some gui programming, but I don't know which one to choose: gtk+, mfc, wxWidget, .net... Which one is better? I am going to program with C++. All opinions are welcomed. Thanks

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    GTK+ and wxWidgets may serve you better since they are somewhat more cross platform and open source. Of course, it depends on your needs, but if you are just picking one to learn, those two seem good enough to me (lots of documentation and user community).
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Quote Originally Posted by jk1998
    I am going to program with C++
    Then you should probably replace gtk+ in your list with gtkmm, the "C++ Interfaces for GTK+".

    gtk+/gtkmm render their own controls/widgets so, if you want a native look for your gui applications then you should probably work with one of the others.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  4. #4
    Registered Abuser
    Join Date
    Jun 2006
    Location
    Toronto
    Posts
    591
    I'd stay away from MFC. Before choosing a GUI API, I did some research on MFC and discovered "shady" things about:
    For the most part, MFC will only work with the Microsoft family of compilers.
    Support for it in the future is shaky as Microsoft will be replacing it with .NET.
    And since it is only a wrapper for the standard C winAPI, not all functionality is carried over one-to-one.

  5. #5
    Registered User
    Join Date
    Apr 2007
    Posts
    42
    Could someone explain to me what's the different between MFC and .NET? Is .NET much better than MFC?

  6. #6
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    FAQ: What is MFC? .Net covers a bunch of different technologies: this page looks as good as any to start reading about them.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows, MFC, .NET, C++ ???
    By alpha in forum Windows Programming
    Replies: 8
    Last Post: 08-07-2006, 02:31 PM
  2. MFC, WTL or .NET?
    By microchip in forum C++ Programming
    Replies: 7
    Last Post: 11-07-2005, 03:14 PM
  3. MFC with .NET
    By dead_cell in forum C++ Programming
    Replies: 2
    Last Post: 08-20-2002, 12:02 AM
  4. WIndows programming?
    By hostensteffa in forum Windows Programming
    Replies: 7
    Last Post: 06-07-2002, 08:52 PM
  5. Visual J#
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-08-2001, 02:41 PM