Thread: Creating a gui?

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

    Creating a gui?

    Can somone link or name a few books that would help me create a GUI for a c code?

  2. #2
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Under Windows or Linux?

    I don't know any books, but here's some links of cross-platform GUI toolkits:

    http://www.wxwidgets.org
    http://www.gtk.org

    You could try Qt as well (sorry can't remember the link off the top of my head) but I think they just went commercial; A team I'm on just had to switch because Qt apparently charge you.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    19
    Iam uisng Windows

  4. #4
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    Windows API tutorial Google search.
    Win32 Programming Google search.
    Great starting points.

    Books:
    ~ Petzold - Programming Windows
    ~ Richter - Programming Applications for Windows

    And whatever else is recommended here: http://winprog.org/shop/

  5. #5
    Registered User Jaqui's Avatar
    Join Date
    Feb 2005
    Posts
    416
    Quote Originally Posted by ahluka
    You could try Qt as well (sorry can't remember the link off the top of my head) but I think they just went commercial; A team I'm on just had to switch because Qt apparently charge you.
    QT can be found when you remember the company name.

    thier windows version has always been commercial.
    and they have always had commercial license available for developing commercial apps on mac and linux.
    so it isn't actually new.
    Quote Originally Posted by Jeff Henager
    If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.

  6. #6
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Damn I just looked it up... we must have been using the eval version *goofy laugh in the style of 'da-oi'*
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  7. #7
    Registered User Jaqui's Avatar
    Join Date
    Feb 2005
    Posts
    416
    ~chuckle~

    it is the nicest cross platform tool for looks.
    the $2,400 USD price tag to have the complete kit is a bit steep in my opinion.
    Quote Originally Posted by Jeff Henager
    If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.

  8. #8
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Aye that is a bit excessive - most people wouldn't pay that much for the actual development software.

    I usually ebay anything I need...
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  9. #9
    Registered User Jaqui's Avatar
    Join Date
    Feb 2005
    Posts
    416
    the complete kit is the development environment and the libs. and headers... translation ( QTtranslator ) for multi human language support.

    silly thing is, you are only missing a few widgets in the free x11 version that most distros include in linux.
    ( canvas widget being most noticable removal )
    Quote Originally Posted by Jeff Henager
    If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.

  10. #10
    Software engineer
    Join Date
    Aug 2005
    Location
    Oregon
    Posts
    283
    For the Win32 API, that commercial companies use, I always preferred this site for beginners. Forget about the portability crap and focus on what almost every computer you run across has installed: Windows. Let C/C++ be your portability tool, not an API. Rant aside, enjoy this site.

    http://www.functionx.com/win32

    Phil
    Last edited by dxfoo; 08-19-2005 at 07:02 PM.

  11. #11
    Shibby willc0de4food's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    378
    this is the site i learned api programming from:

    http://www.winprog.org/tutorial/

    that and from code of other GUI programs.


    Forget about the portability crap and focus on what almost every computer you run across has installed: Windows.
    ...you disgust me..
    lol
    Registered Linux User #380033. Be counted: http://counter.li.org

  12. #12
    Software engineer
    Join Date
    Aug 2005
    Location
    Oregon
    Posts
    283
    It's true, lol.

    If you're making a program, and your broad range of users are Windows users (including yourself), would you use the Win32 API for that close integration with Windows, or some cheap tool that most hobbyists would just love to use, but absolutely never used in the marketplace?

    At any rate, let C/C++ be your portability tool. Who you target should be compiled to their specific OS's API. Don't want to believe me? Name me an application in retail stores that doesn't.

    Kaho, use Win32 if you're targeting Windows users. There's no such thing as multiple answers. Well, maybe for hobbyists.

    Phil

  13. #13
    Shibby willc0de4food's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    378
    mm...it seems i made a reply to the wrong post.
    *dammit*
    no more monster xxl's for me
    Last edited by willc0de4food; 08-20-2005 at 09:14 PM.
    Registered Linux User #380033. Be counted: http://counter.li.org

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Profiler Valgrind
    By afflictedd2 in forum C++ Programming
    Replies: 4
    Last Post: 07-18-2008, 09:38 AM
  2. CREATING A cwindows Calculator GUI
    By datainjector in forum Windows Programming
    Replies: 5
    Last Post: 05-16-2008, 04:26 PM
  3. Creating a GUI in C
    By Mavix in forum C Programming
    Replies: 23
    Last Post: 05-03-2007, 10:19 PM
  4. Creating a 2D GUI using Direct3D
    By codec in forum Game Programming
    Replies: 8
    Last Post: 09-23-2004, 11:57 AM
  5. Creating a database (inside a GUI)
    By goosematt in forum C Programming
    Replies: 7
    Last Post: 10-23-2003, 11:04 AM