Windows Forms Apps in C++ with Visual Studio 2022Extend Visual Studio 2022 by Windows Forms projects written in C++. Applications created by such projects have a graphical user interface. They are based on .NET Framework. You can use all common Windows controls like Buttons, Menues, TextBoxes etc. Click here for a tutorial for Windows Forms Projects in English. Use Standard C++ (including most of C++11, C++14, C++17) for your business logic. To access GUI controls use C++/CLI (an easy to use C++ dialect). The main difference between a traditional C++ program is, that instead of using the console for user interaction
you can use Windows controls, e.g. a TextBox
C++ Windows forms projects are an easy way to create programs with a graphical user interface in C++.
Based on this extension I created another extension that is a very simple Windows Forms Project with a graphical user interace (GUI) written in C++. The form contains a button and textboxes for input and output, but you can easily extend it by adding more controls and functions. My textbook (in German) teaches C++ from the scratch, using C++ Windows forms. It focuses on standard C++ at the C++17 level, not C++/CLI. |