An Overview of MFC, Part 1
(Page 1 of 5 )
Programming with Microsoft Foundation Classes allows you to quickly create programs that are smaller than they would have been if you had created a full-fledged application using the Windows API, but still accomplish the same goals. It also allows you to separate the user interface of your program from the processing logic; this flexibility can come in very handy when you need to make modifications. Read on to learn the basics.
The support file for this article is available here.
In this article we’ll try to grasp the basics of Windows programming with MFC and how to use Visual Studio to write MFC applications. We’ll observe how programs behave the way they do from the perspective of a Visual C++ programmer. Most beginners to Visual C++ and MFC dive straight into the code that the Visual C++ AppWizard generates and then are clueless about what they see. This happens simply because it is not only hard to follow the generated MFC code, but also because most people don’t know what they get from the AppWizard. You need to have a fundamental understanding of MFC code structure; without that, you can’t write even a single line of code. Yes, that’s the truth!
Beginning with this article, we’ll cover in a simple but effective manner the fundamental concepts that animate any MFC program. Once you have covered the basics we’ll move on to more advanced topics that will surely make you a better Win32 MFC programmer. Here in the first article of this series we shall take a look at the basics, and you’ll see that the MFC and the App Wizard generated output does make your life as a programmer easier.
Next: Getting Started with MFC >>
More C# Articles
More By Digvijay Chauhan