C++ GUI coding help.

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

Apr 28, 2010

C++ GUI coding help. by Westside at 11:09 PM (1,369 Views / 0 Likes) 16 replies

  1. Westside
    OP

    Member Westside Sogdiana

    Joined:
    Dec 18, 2004
    Messages:
    2,905
    Location:
    Guantanamo bay
    Country:
    Uzbekistan
    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

    Member DeltaBurnt I'm bored

    Joined:
    Feb 21, 2009
    Messages:
    3,353
    Location:
    Where intellect matters
    Country:
    United States
    Upgrade to Visual C++ 2010?
     
  3. Westside
    OP

    Member Westside Sogdiana

    Joined:
    Dec 18, 2004
    Messages:
    2,905
    Location:
    Guantanamo bay
    Country:
    Uzbekistan
    [​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

    Member DeltaBurnt I'm bored

    Joined:
    Feb 21, 2009
    Messages:
    3,353
    Location:
    Where intellect matters
    Country:
    United States
    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

    Member Joe88 [λ]

    Joined:
    Jan 6, 2008
    Messages:
    11,186
    Location:
    NYC
    Country:
    United States
    you could use c# which gives you much more control gui stuff with visual studio 2008
     
  6. UltraMagnus

    Member UltraMagnus hic sunt dracones

    Joined:
    Aug 2, 2007
    Messages:
    1,967
    Location:
    Portsmouth
    Country:
    United Kingdom
    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

    Member mercluke ‮҉

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

    Member Westside Sogdiana

    Joined:
    Dec 18, 2004
    Messages:
    2,905
    Location:
    Guantanamo bay
    Country:
    Uzbekistan
    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

    Member UltraMagnus hic sunt dracones

    Joined:
    Aug 2, 2007
    Messages:
    1,967
    Location:
    Portsmouth
    Country:
    United Kingdom
    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

    Member tenshinoneko GBAtemp Regular

    Joined:
    Feb 14, 2009
    Messages:
    101
    Country:
    United States
    You can get C++ 2010 for free. They made it available for students 2 weeks ago
     
  11. DeltaBurnt

    Member DeltaBurnt I'm bored

    Joined:
    Feb 21, 2009
    Messages:
    3,353
    Location:
    Where intellect matters
    Country:
    United States
    Yah, college students [​IMG]
     
  12. Westside
    OP

    Member Westside Sogdiana

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

    Member azure0wind 7 years flew so fast.

    Joined:
    May 24, 2009
    Messages:
    941
    Country:
    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

    Member Justin121994 Bitcoin. coinbase.com/andrew

    Joined:
    Jan 12, 2009
    Messages:
    808
    Location:
    Ontario, CA
    Country:
    United States
    Use Qt dude. Once I made the switch I never looked back [​IMG].
     
  15. thevilman

    Newcomer thevilman Member

    Joined:
    Sep 23, 2008
    Messages:
    45
    Country:
    Brazil
    Qt rocks
     
  16. azure0wind

    Member azure0wind 7 years flew so fast.

    Joined:
    May 24, 2009
    Messages:
    941
    Country:
    Indonesia
    what is Qt? [​IMG]
     
  17. DeltaBurnt

    Member DeltaBurnt I'm bored

    Joined:
    Feb 21, 2009
    Messages:
    3,353
    Location:
    Where intellect matters
    Country:
    United States
    And the fact that...ya' know...the languages are different.
     

Share This Page