How can I view the main form in a Visual Studio Visual C++ Win32 Project so I can edit it?

Mike Jablonski

I am migrating a C++ Builder program to a Visual Studio 2013 C++/Win32/Win32 Project.

Try as I may, however, after I create a new project (C++/Win32/Win32 Project), I can't see how to view/edit the main form which is created automatically when Visual Studio creates the project. I know how to view/edit forms in C#, C++ Builder, and Delphi, but I'm not seeing how to view the form so that I can add to it in VS 2013 for a C++ Windows application.

What is it that I do not understand? What rock is the main form hidden under in the IDE?

I know the form is there, with a simple menu and an about box, because it is displayed when the newly created project/program is run.

By form I mean the main window for the newly created application.

codenheim

Sounds to me like you created a straight Win32 project (non-MFC). In that case, there isn't a form designer like you are accustomed to. Much is created by code.

You'll find something like:

case IDM_ABOUT:
    DialogBox(hInst, MAKEINTRESOURCE(IDD_ABOUTBOX), hWnd, About);
    break;

Open the Resource Files, Win32Project1.rc, and open the Dialog subfolder, you'll see a dialog designer. Besides that, you won't find a Form that is editable the way C++ Builder allows. At first glance you'll think you have a form designer, but shortly you'll find it is pretty lacking. To design complex UIs requires more.

The bad news, if you are coming from a C++ Builder background, you will find Visual C++ not so RAD / WYSIWIG. There are several ways to do it, not all of which involve design time form wizards. Much of traditional Visual C++ programming creates the UI dynamically.

If you want true RAD with Visual Studio, you'll need to move to C# / .NET and Winforms or WPF.

If you are sticking with C++, I recommend you recreate your project and choose the MFC option, or look at Qt or another 3rd party UI framework. MFC (Microsoft Foundation Classes) and the MFC Project Wizard will give you more controls to choose from, and more of a jump start by helping you create an app skeleton with Single/Multiple Document Interface, etc.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How can I view the main form in a Visual Studio Visual C++ Win32 Project so I can edit it?

From Dev

Visual Studio - Can I view the code of an older version of a project?

From Dev

Can I view my not so recently opened projects in Visual Studio?

From Dev

Why can't I create a new win32 console visual c++?

From Dev

How can I find out what type of c# project I'm using in Visual Studio 2017?

From Dev

How can I get the build number of a Visual Studio project to increment?

From Dev

How can I share a Visual Studio project across computers easily?

From Java

How can I rename a project folder from within Visual Studio?

From Dev

How can I get with PowerShell the project version in Visual Studio?

From Java

How can I view the Git history in Visual Studio Code?

From Dev

how can I view the history of a file with visual studio online? (Monaco)

From Dev

How can I view Threads window in Visual studio?

From Dev

how can I view the history of a file with visual studio online? (Monaco)

From Dev

How can I fold rdlc code in XML view in Visual Studio

From Dev

How can I delete a Visual Studio project outside of Visual Studio without wreaking havoc on the solution?

From Dev

How can I use RTMPDump from a Visual Studio C++ project?

From Dev

How can I create a C++ project in Visual Studio 2010 Ultimate

From Dev

How can I use RTMPDump from a Visual Studio C++ project?

From Dev

How can I enable/disable command in Visual Studio 2017 VSIX C# project

From Dev

How can I find my controls on the form in Visual Studio (C#)

From Dev

How can I use a .png file as a button in Windows Form ? ( in C# - visual studio 2013 )

From Java

How can I use C# 8 with Visual Studio 2017?

From Dev

How can I add C# 6.0 to Visual Studio 2013?

From Dev

How can I determine the type of C# file in Visual Studio?

From Dev

How can I install Visual Studio?

From Dev

How can I install Visual Studio?

From Dev

How can I change the "licensed to" in visual studio?

From Dev

How can I manage Visual Studio?

From Dev

How can I disable creating Class1 / Form1 automatically while creating a project in Visual Studio

Related Related

  1. 1

    How can I view the main form in a Visual Studio Visual C++ Win32 Project so I can edit it?

  2. 2

    Visual Studio - Can I view the code of an older version of a project?

  3. 3

    Can I view my not so recently opened projects in Visual Studio?

  4. 4

    Why can't I create a new win32 console visual c++?

  5. 5

    How can I find out what type of c# project I'm using in Visual Studio 2017?

  6. 6

    How can I get the build number of a Visual Studio project to increment?

  7. 7

    How can I share a Visual Studio project across computers easily?

  8. 8

    How can I rename a project folder from within Visual Studio?

  9. 9

    How can I get with PowerShell the project version in Visual Studio?

  10. 10

    How can I view the Git history in Visual Studio Code?

  11. 11

    how can I view the history of a file with visual studio online? (Monaco)

  12. 12

    How can I view Threads window in Visual studio?

  13. 13

    how can I view the history of a file with visual studio online? (Monaco)

  14. 14

    How can I fold rdlc code in XML view in Visual Studio

  15. 15

    How can I delete a Visual Studio project outside of Visual Studio without wreaking havoc on the solution?

  16. 16

    How can I use RTMPDump from a Visual Studio C++ project?

  17. 17

    How can I create a C++ project in Visual Studio 2010 Ultimate

  18. 18

    How can I use RTMPDump from a Visual Studio C++ project?

  19. 19

    How can I enable/disable command in Visual Studio 2017 VSIX C# project

  20. 20

    How can I find my controls on the form in Visual Studio (C#)

  21. 21

    How can I use a .png file as a button in Windows Form ? ( in C# - visual studio 2013 )

  22. 22

    How can I use C# 8 with Visual Studio 2017?

  23. 23

    How can I add C# 6.0 to Visual Studio 2013?

  24. 24

    How can I determine the type of C# file in Visual Studio?

  25. 25

    How can I install Visual Studio?

  26. 26

    How can I install Visual Studio?

  27. 27

    How can I change the "licensed to" in visual studio?

  28. 28

    How can I manage Visual Studio?

  29. 29

    How can I disable creating Class1 / Form1 automatically while creating a project in Visual Studio

HotTag

Archive