C++ GUI coding help.

Discussion in 'Computer Games and General Discussion' started by Westside, Apr 28, 2010.

  1. Westside
    OP

    Westside Sogdiana

    Member
    2
    Dec 18, 2004
    Uzbekistan
    Guantanamo bay
    I just got into coding GUI in Dev-C++, I am learning from the example GUI CreateWindow functions, but they all have the ugly windows classic themes, how do I make sure that the GUI uses the Vista or 7 theme if it is available?
     
  2. DeltaBurnt

    DeltaBurnt I'm bored

    Member
    1
    Feb 21, 2009
    United States
    Where intellect matters
    Upgrade to Visual C++ 2010?
     
  3. Westside
    OP

    Westside Sogdiana

    Member
    2
    Dec 18, 2004
    Uzbekistan
    Guantanamo bay
    [​IMG] That's such a pain in the booty.

    Wait, I don't understand why Dev-C++ would compile the program with classic theme? Isn't there a way to make it compatible with your current theme? In the end, it's still C++.
     
  4. DeltaBurnt

    DeltaBurnt I'm bored

    Member
    1
    Feb 21, 2009
    United States
    Where intellect matters
    Well from my understanding Dev-C++ isn't the most modern compiler on the internet.

    I haven't really gotten into C++ GUI yet so I don't know what else to tell you.
     
  5. Joe88

    Joe88 [λ]

    Member
    13
    Jan 6, 2008
    United States
    NYC
    you could use c# which gives you much more control gui stuff with visual studio 2008
     
  6. UltraMagnus

    UltraMagnus hic sunt dracones

    Member
    1
    Aug 2, 2007
    Portsmouth
    use java... it is very similar to C++ and automatically uses the default theme on the machine no matter what it is. You can make a program and have the same one look like win 7 on win 7, vista on vista, and OSX on OSX, etc, etc.

    You could also look at using a cross platform IDE like code::blocks that uses wxWidgets. The also appears to be an updated version of dev-C++ called wxDev-C++ that uses wxwidgets to make a GUI, that should be more compatible.

    stay away from visual studio if you can, that is one ugly walled garden.
     
  7. mercluke

    mercluke ‮҉

    Member
    3
    Dec 2, 2007
    Perth
    this advice made me cry
    c++ > java
    and java progs all look ugly as sin :'(
     
  8. Westside
    OP

    Westside Sogdiana

    Member
    2
    Dec 18, 2004
    Uzbekistan
    Guantanamo bay
    I'm starting a new project in Visual C#. Man is it complex!!! Anyone have a book similar to "Learning C++ in 24 and a half hours while driving to work" for Visual C#?
     
  9. UltraMagnus

    UltraMagnus hic sunt dracones

    Member
    1
    Aug 2, 2007
    Portsmouth
    Honestly, a program's looks depend entirely on what GUI toolkit it uses. Swing can make some pretty sweet looking interfaces, just as wxWidgets can.
     
  10. tenshinoneko

    tenshinoneko GBAtemp Regular

    Member
    1
    Feb 14, 2009
    United States
    You can get C++ 2010 for free. They made it available for students 2 weeks ago
     
  11. DeltaBurnt

    DeltaBurnt I'm bored

    Member
    1
    Feb 21, 2009
    United States
    Where intellect matters
    Yah, college students [​IMG]
     
  12. Westside
    OP

    Westside Sogdiana

    Member
    2
    Dec 18, 2004
    Uzbekistan
    Guantanamo bay
    Lol, that book title for C++ was a joke, but I DO know that most good C++ books come from deitel.
     
  13. azure0wind

    azure0wind GBAtemp Advanced Fan

    Member
    2
    May 24, 2009
    Indonesia
    well C# coding is similiar to VB (if you make from GUI).
    But, the differences is when you create *.c file (C# & C++ can; but VB no)
     
  14. Justin121994

    Justin121994 Bitcoin. coinbase.com/andrew

    Member
    2
    Jan 12, 2009
    United States
    Ontario, CA
    Use Qt dude. Once I made the switch I never looked back [​IMG].
     
  15. thevilman

    thevilman Member

    Newcomer
    1
    Sep 23, 2008
    Brazil
    Qt rocks
     
  16. azure0wind

    azure0wind GBAtemp Advanced Fan

    Member
    2
    May 24, 2009
    Indonesia
    what is Qt? [​IMG]
     
  17. DeltaBurnt

    DeltaBurnt I'm bored

    Member
    1
    Feb 21, 2009
    United States
    Where intellect matters
    And the fact that...ya' know...the languages are different.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice