On windows, that is.
This is a discussion on What do you guys use to make GUIs in C++? within the C++ Programming forums, part of the General Programming Boards category; On windows, that is....
On windows, that is.
2B OR !2B? That is the question!
As I'm programming for Windows only, MFC if I absolutely have to. But C++ isn't really a tool to build nice and shiny user interfaces. C# and WPF would be my prefered choice this year.
Qt and wxWidgets seem to be quite nice if you have to use C++ in a non-windows and/or OS-independent environment.
Thought for the day:FLTK: "The most fun you can have with your clothes on.""Are you sure your sanity chip is fully screwed in sir?" (Kryten)
"If I had thought of it and had some marketing sense every computer and just about any gadget would have had a little 'C++ Inside' sticker on it'"
fltk again, but i use it for linux, fast, light
Even though this is a C++ forum I can't help but 100% agree with this statement. These two technologies offer so much more than any 3rd party GUI library in C++ it would be a serious misstep not to use them. C++, C#, WPF, and any technology can all peacefully co-exist so long as you look at each of them as tools that can be used for various jobs. Of course I prefer C++ but that certainly does not mean it is the best choice in all situations.C# and WPF would be my prefered choice this year.
i use the Win32 API. it's a bit tricky at first but once you get the hang of it it's nice. Everything is handcoded and controlled by the code you write so it's very flexible. The only thing is it's Windows only.
for windows GUI development in C++, I really like wxWidgets. version 2.8 is plenty useful, but the 2.9 development code has a lot of new features that 1: show that it's an active project that sees ongoing development, and 2: make it continue to be relevant and useful now and going forward.
the thing I like most about it is the fact that it is platform independent. if it runs a gui environment, you can pretty much bet that there's a port of wxWidgets for it. I've literally compiled the exact same code on windows, linux and opensolaris, and got the exact same expected results. not many systems can claim that sort of interoperability.