Is there a Designer for MFC in Visual Studio like for windows forms in .NET?

后端 未结 3 2030
天涯浪人
天涯浪人 2021-02-02 08:40

I\'m a .NET programmer. I\'ve never developed anything in MFC. Currently I had to write a C++ application (console) for some image processing task. I finished writing it. But th

3条回答
  •  长发绾君心
    2021-02-02 09:28

    Win32 dialog designer is available for dialogs. Create new project, selecting "Dialog-based application" on the Application Type Wizard step. When project is created, open Resource View, expand Dialogs node, double-click main dialog, and dialog designer is open.

    For MDI/SDI applications, as you have created, you can select CFormView as base class on one of Wizard steps. This creates a dialog embedded to frame, designer is available in the Resource view.

    Also, for every Win32/MFC application, you can add new dialog (not main window) from Resource View.

提交回复
热议问题