How to develop GUI in C++?

I want a nice visual interface to make on bare WinAPI for their program. Which way to go? What libraries to use GDI, GDI+, DirectDraw ?
July 9th 19 at 13:09
2 answers
July 9th 19 at 13:11
On bare WinAPI to draw your controls for a beautiful interface is a problem. Will have to write VERY much code. Of the minimum interlayer to WinAPI, you can use WTL and MFC.
For MFC there are a number of paid libraries to simplify UI development and already have a set of highly customizable controls. This, for example, Codejock and BCGSoft.
If you still to abandon the low-level WinAPI then use a custom user interface can be implemented using the WPF (in .NET), Sciter (UI engine that uses HTML/CSS for display. Written in C++, it is easy integriruetsa with C++, cross-platform, and free to use binaries), QT(c++, there is a markup language interface QML).
Oh, and DirectX, OpenGL relation to the WinAPI has not.
No, unfortunately I do not get implemented the interface using WPF in C++/CLI (.NET). Only WinForms and to wrap it (of course, to port separate controls using ElementHost, however, XAML, alas, it does not support) - milan.Feeney commented on July 9th 19 at 13:14
: Well, WPF is C#only - kenneth63 commented on July 9th 19 at 13:17
July 9th 19 at 13:13
Which way do I go?

Right, you need to go in the direction of adequate "hotelok", the GUI on the "naked" WinAPI - this was irrelevant, as was Borland, and now, and even beautiful, it's all nonsense.
At least, you need to write your framework, so that next time was easier and the code was architecture and not to do on the WinAPI directly, but create a framework, too much effort will require, but uses it very little, it is almost certain that you have none at all, just a whim.
Well, on topic, GDI+ use, you can make a nice WPF, but without hardware acceleration, but OpenGL and DirectX for a GUI you just have not mastered, it is quite a long way to go.
And what I have to do in DirectX and OpenGL ? - milan.Feeney commented on July 9th 19 at 13:16
For example, the rendering of text, even in WPF I would not say that this problem was solved 100%, where the fonts are still different from the usual. Otherwise, try and find out I don't want to participate in this delusion, because there is no point. - kenneth63 commented on July 9th 19 at 13:19
: and Qt as a dispensation ? there is a problem with rendering solved - karlie.Christiansen40 commented on July 9th 19 at 13:22
I don't know, not interested, the source code did not look, but know that there are 2 libraries for the UI - Quick and "traditional". Second, obviously, on Windows uses GDI and GDI+, but first, like and the font is weird, and judging by the load on hardware for rendering uses OpenGL or DirectX, but this is my speculation, by the way, Qt is also not a very necessary thing. - mazie.Towne commented on July 9th 19 at 13:25

Find more questions by tags C++