creating a C++/windows/desktop project it dosn't show any form

_vatte 0 Reputation points
2023-10-16T22:59:52.0066667+00:00

After creating a project in C# I get the form. In C++ I doesn't

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,846 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,553 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Minxin Yu 10,361 Reputation points Microsoft Vendor
    2023-10-17T01:32:00.3966667+00:00

    Hi, @_vatte

    Please read the tutorial: Module 1. Your First Windows Program
    The Window is created by code CreateWindowEx . So it doesn't show any form in designer. Right click the project-> Add-> Resource-> Dialog to add the form. Then there will be a Dialog in designer. You can design the dialog with toolbar and call the dialog using CreateDialogA

    Best regards,

    Minxin Yu


    If the answer is the right solution, please click "Accept Answer" and kindly 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.


  2. Castorix31 81,861 Reputation points
    2023-10-17T06:50:10.83+00:00

    To get a Form in Designer, you can use C++/CLI, like :

    Create C++ Windows Forms application in Visual Studio 2017

    0 comments No comments