Creating a user interface in C++

This is a discussion on Creating a user interface in C++ within the C++ Programming forums, part of the General Programming Boards category; Hello, I am having a bit of a problem. I am still a bit knew with C++ but very good ...

  1. #1
    Registered User
    Join Date
    Jun 2007
    Location
    Usa, Pa
    Posts
    39

    Creating a user interface in C++

    Hello,


    I am having a bit of a problem. I am still a bit knew with C++ but very good with Visual Basic 6. I am still hooked on how easy it is to create a user interface with VB6. I was wondering what I needed to do to create a user interface with C++??


    I am using Dev-C++ 5 Beta.



    ~ Tyler

  2. #2
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    905
    A windows-style thing? You're probably looking for MSVC++ with MFC or .NET wizards.
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

  3. #3
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    Or wxWidgets. Here's a tutorial for it.

  4. #4
    Registered User
    Join Date
    May 2007
    Posts
    88
    You might also want to check out the Qt toolkit, and Qt's Designer form layout tool.

  5. #5
    Registered User
    Join Date
    Nov 2006
    Posts
    519
    for wxwidgets there is wxglade as a visual coding tool.

  6. #6
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    Or GTK+. There's a list of some other toolkits -- compared with wxWidgets -- here: http://www.wxwidgets.org/wiki/index....Other_Toolkits
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  7. #7
    Registered User
    Join Date
    Jun 2007
    Location
    Usa, Pa
    Posts
    39
    Thanks guys, I have decided to build my own GUI lib. Thanks! Bye.

  8. #8
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    Good luck. It's not as simple as it seems. Are you using the SDL or some graphics library, or how do you plan to draw buttons and such?
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  9. #9
    Registered User
    Join Date
    Jun 2007
    Location
    Usa, Pa
    Posts
    39
    I have a programmer with a Masters degree in Computer Science helping me out with it.


    I don't believe you need a graphics lib for a text based, the GUI won't be graphical so I guess it's just a user interface..
    Last edited by TylerMoyer; 07-11-2007 at 10:13 PM.

  10. #10
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    Oh, so you want to use coloured text to generate a user interface like DOS programs?

    You have to be more specific -- most of us assumed that you wanted a proper GUI like Windows uses.

    Are you looking for something like this? http://www.adrianxw.dk/SoftwareSite/...Consoles4.html
    (Part of http://www.adrianxw.dk/SoftwareSite/index.html.)
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  11. #11
    Registered User
    Join Date
    Jul 2006
    Posts
    162
    wxDevCPP is a new version of Dev-CPP and it has a visual studio style GUI designer that uses wxwidgets.

  12. #12
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    Code::blocks has a wxWidgets RAD tool built in.

  13. #13
    Registered User
    Join Date
    Jun 2007
    Location
    Usa, Pa
    Posts
    39
    Figured it out.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Creating a window interface
    By spadez in forum C Programming
    Replies: 3
    Last Post: 02-20-2009, 02:18 PM
  2. SSH Hacker Activity!! AAHHH!!
    By Kleid-0 in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 03-06-2005, 02:53 PM
  3. Creating class object from user input?
    By Munkey01 in forum C++ Programming
    Replies: 8
    Last Post: 01-05-2003, 09:09 AM
  4. comparing user input
    By lambs4 in forum C Programming
    Replies: 5
    Last Post: 12-15-2002, 09:28 AM
  5. Non-Standard User Interface
    By Eugene in forum Windows Programming
    Replies: 1
    Last Post: 08-29-2001, 09:43 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21