from where do i start C++ gui

I wish to learn c++ gui.
can anyone tell me where to start from ?
C++ has no inherent understanding of graphics.

Start with a widget toolkit. Pick one of these:
http://en.wikipedia.org/wiki/List_of_widget_toolkits
There is lots to choose from. If I was you I would take a look at the Windows programming (Win32)
It's very important to know the platform you want to develop for.

But for windows you should use WIN32, also i think the Forms in Visual Studio are nice.

If you want to make games then i recomend SDL
Why use WIN32?
Win32 is for the Windows operating system.

Infact here a good website to start learning the basic of it. http://xoax.net/cpp/crs/win32/index.php

After that your better of reading msdn.
Last edited on
Yeah, but you can make cross platform GUI's arguably easier with something like QT. What is an advantage to using WIN32 which would make it worth using over something like QT?
Can't honestly say. I never used QT. But I found a thread on this forums http://www.cplusplus.com/forum/beginner/46633/ I read that Win32 is faster then QT but more complicated (Only from what I read).

And I might have to take a look at QT some day. :P
I wish to start from linux. But are cross platforms are good?
If yes, I would like to choose from QT or GTK+.
Which one do you suggest ? And Please give the beginner's link if possible.
Thank you.
GTK+ is in c, but there is a C++ version of it, GTKmm.

http://www.gtkmm.org/en/

http://developer.gnome.org/gtkmm-tutorial/unstable/chapter-installation.html
http://developer.gnome.org/gtkmm-tutorial/unstable/sec-basics-simple-example.html.en

QT is more cross platform, when it comes to mobile devices and stuff. It also has a ton of features.

http://doc.qt.nokia.com/4.7/gettingstartedqt.html

I like GTK because I can use it in combination with Clutter if I want. Clutter is a graphics library for GUI type stuff which uses openGL to render, can draw with cairo, and use GSTREAMER for video.

https://clutter-project.org/

Last edited on
Thanks all of you for helping me through this.
I think i'll be starting from GTKmm.
Topic archived. No new replies allowed.