Answer the question
In order to leave comments, you need to log in
How to develop window applications in C++ in Visual Studio 2019?
I would like to learn how to develop classical GUI applications in C++.
I have Visual Studio 2019. What additional packages do I need to download for windows applications? And is there an opportunity to create a form with buttons, labels, etc., as in Pascal? Or will it be necessary to prescribe everything in the program?
Answer the question
In order to leave comments, you need to log in
The easiest solution for developing GUI applications in the MSVS2019 environment is to use Qt. Actually, for this you need Qt. But you can develop in VS.
The second solution is a bit more complicated: using C++/CX along with UWP /Windows Forms.
The third solution, even more complex, would be to use already pure C++ with support from MFC or WTL .
And the hardest solution would be to use WinAPI directly .
In addition to all this, you can still use the wxWidgets library and develop a GUI for your application based on it.
Now the form-slapping, once backed by Delphi, has largely lost its meaning, since tasks are constantly shifting from desktops to servers. Accordingly, a server application is being developed, a web face to it and Electron, for example, for a separate client. Without digging into serious languages, which are simply not needed for such tasks.
Choose the right tools. For UI, use
C# there and controls and more.
It would be desirable to use exotics MFC but sense special I do not see.
In addition, there are WPF and UWP
And finally, read the instructions for choosing
https://docs.microsoft.com/en-us/windows/apps/desk...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question