0
votes

I am a beginner learning Visual Studio 2019 Community. Specifically MFC C++.

It is challenging as I am struggling to find good reference material and examples. Youtube has been very helpful for tutorials and examples. However, all the information I have found are using earlier versions of Visual Studio which are not a step by step process. I have found myself doing additional research or experimenting to find the same tool used in the example.

My current issue is the example creates a new class with the base class type of "CFormView". However no such value exists in my version of Visual Studio.

With that being said. I have two questions.

  1. Please advise on how to create a CformView class in VS.

  2. Is there any good quick learning guides for MFC in VS 2019? It would be great to have tutorials.

Thank you in advance.

1
Good documentation on MFC is hard to come by, unfortunately. Some of this is due to age and it being supplanted by different frameworks and languages in the Microsoft ecosystem. Not much MFC support seems to trickle out of Redmond these days. On the third party front, it just doesn't seem to be hip. Community support suffers as a result.user4581301
Regarding the question, requests for tutorials are strictly off topic. You're better off muddling your way through with what you can find and then ask questions about why what you've tried doesn't work or asking at Code Review about how to make what you have better. This was the sort of problem Stack Overflow Documentation was supposed to help with. Real shame it didn't work out.user4581301
For a beginner with VC++ with Visual Studio and using MFC; MSDN is a useful source of information. Explore this link for more info. Also see the samples at VC++ samples on github. With some overview about MFC, you can explore more about CFormView.dorKKnight

1 Answers

1
votes

VS2017 and VS2019 have become difficult development environments to continue program development with MFC/ATL.
If you want Wizard-guided development as you've seen in previous books and resources, the best shortcut is to go back to VS2015 and port the results to VS2017 or VS2019.

I have similar answers to similar questions several times.
For example, see these answers and their links.
How to add database to MFC project in Visual Studio 2017?
I am missing the Add new item Add "MFC Class From Typelib" in VS-2019
The big ATL wizard misery.
Deprecations - Visual Studio 2019
Add ATL Simple Object in Visual Studio 2017
Changes to Project Templates and Code Wizards in 15.3
Visual Studio 2017 version 15.3 Release Notes