If you want to use C++ to create a GUI, I suggest you use C++/CLI.
This project can create and use Winform in C++, C++/CLI itself isn't installed by default when you install a Visual Studio C++ workload. You need to search for C++/CLI support in visual studio installer and install it.
Then you could create a new C++/CLI project.
Best regards,
Elya
If the answer is the right solution, please click "Accept Answer" and upvote it.If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.