Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to switch to the design view in VC++ 2012?

I have just installed Visual Studio 2012 Professional Edition and I'm planning to write my first Hello World application but I can't find the designer view !

enter image description here

How can I switch to the designer mode in Visual C++ 2012 Professional?

like image 742
Rafik Bari Avatar asked Feb 22 '13 14:02

Rafik Bari


People also ask

How do I show the Design tab in Visual Studio?

From the Solution Explorer window select your form, right-click, click on View Designer. Voila!

How do I open designer CS?

So open the solution explorer (View -> Solution Explorer, or Ctrl + W , S ). Select one of the mentioned classes like form or user control. Right-click it and from the context menu select View Designer (or simply Shift + F7 ). That will move you to the designer view.


2 Answers

Maybe you are used to C#, where when you have let's say MyForm.cs and you just open it, it opens MyForm.cs [Design] window by default, in which you can design your dialog.

In Visual C++, the appearance of the dialog is stored in the resource file, thus you need to double click on Win32Project3.rc which will switch your left pane to the Resource view. Then you will see more resource types (they look like folders) and under Dialog you will find your dialog.

like image 114
LihO Avatar answered Sep 21 '22 04:09

LihO


I found that double-clicking the header file (as shown in the Solution Explorer) opens designer view where applicable. To get the actual template, I used an online template through VS2015. Sorry if this response isn't the best, I just got a hang of it earlier today...

like image 40
Dreadhawk177 Avatar answered Sep 20 '22 04:09

Dreadhawk177