Missing View Design in Visual C++ (Visual Studio 2017) - visual-studio-2017

I can't open View Design in VS 2017, it's just missing.
It doesn't show any desinger in the open methods.
Neither in the other pop-up window..

If your project is MFC project, it has a '.rc' file. Double click this file will lead you to dialog or view designer. Other wise these is NO any view design. The second picture you mentioned can only navigate you to '.cpp' file of an '.h' file.

Related

Customise Visual Studio 2017 toolbar - open a specific file

Short of writing a VS add-in, is there a way to add a button to a VS toolbar which opens a specific xml file from a fixed location in a new editor window?
You can use my Favorite Documents extension to add a link to a file and then open it from the Favorites menu.

How do I create a new "header file (.h)" in an existing "C++ Project" in "Microsoft Visual Studio Community 2015"?

I can create such a file by opening a separate instance of studio, but I can't get my project to recognize it as an essential file in the side panel. I would prefer an answer by using studios own UI to create the file, but importing it will work as well if possible.
Note: I need an answer to Visual Studio year 2015. I have read that major program changes have been made since 2012/2013 and thus such solutions will probably not work.
Right click on your project in project explorer (normally on the right) and choose Add new item...
Select C++ header file there.

MFC Ribbon imports as XML instead of opening designer after saving

I made a resource file from scratch - I renamed an empty .txt file to .rc and then opened it in Visual Studio. Then I added a ribbon, a dialog, etc. to it. Then I saved and quit. When I reopened the file again, Visual Studio complained:
error RC2144 : PRIMARY LANGUAGE ID not a number
... which was fixed by adding #include <windows.h> in the resource.rc file.
But when I opened the file again, I got this:
MFC Ribbon Error RT_RIBBON_XML
Visual Studio seems to import the ribbon as an "RT_RIBBON_XML" type, not as a "Ribbon" like usual. As you can see, it says that there's an "external file" - and yes, the ribbon XML itself is in a seperate file in the same directory. But I can't open the ribbon in the designer anymore, it just shows the XML instead of the Ribbon designer. How can I tell Visual Studio that this XML is indeed a ribbon?
I have tried importing the ribbon via "Add resource > Import", but I can't import it as a "Ribbon" type, but Visual Studio says it's not allowed to open an external type as a built-in type.
I've tried making a new ribbon, then opening the data and copy-pasting from my old ribbon into the new ribbon. The ribbon gets saved correctly, but Visual Studio doesn't open the file anymore, meaning: When I open the file in a text editor, I can see all my attributes, but when opening it in the designer, it's simply an empty ribbon. How can I load my original ribbon?

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 !
How can I switch to the designer mode in Visual C++ 2012 Professional?
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.
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...

Visual Studio 2010 resource tree doesn't open

I'm having a problem with visual studio 2010 in that I have a MFC project I've made which includes a dialog box. However when I go to the resource view, I can see the .rc file (I can't see the .rc2 file, which is listed in the solution explorer) but when I click on it, it doesn't open into the expected ICON, DIALOG, MENU etc.
The project runs and compiles fine, but I just don't get why I can't get to the dialog to edit it.
Thanks
James