Where can I learn how to create a form in c++?

Keith Lovell 61 Reputation points
2020-08-23T07:23:52.027+00:00

I am an experienced programmer learning c++. I can create a window and write text into it but can't see how to create a screen that allows the user to enter data and return it to the program. I have spend several hours trying to find something useful in the tutorials and documentation available.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,874 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 83,286 Reputation points
    2020-08-23T08:27:51.867+00:00

    For WinForms with C++, see : Create C++ Windows Forms application in Visual Studio 2017
    It works with VS 2019 too, with Prerequisites from Compile a C++/CLI Program that Targets the CLR in Visual Studio

    For GUI with standard C++, use the generated application from the Win32 Wizard (or Walkthrough: Create a traditional Windows Desktop application (C++)) and add controls like "Edit", "Button", ...etc with CreateWindow(Ex)
    or use MFC


0 additional answers

Sort by: Most helpful