A set of classes, global functions, global variables, and macros developed by Microsoft that provides a framework for developing applications for Microsoft Windows platforms.
The Microsoft Foundation Classes (MFC) are an object-oriented interface to the Windows application programming interface (API). MFC encapsulates much of the Windows API by providing classes that represent key Windows objects, such as windows, controls, dialog boxes, brushes, and fonts. Programmers can develop Windows-based applications by using a combination of C++ code and MFC instead of calling Windows API functions directly. Many MFC class member functions actually call the encapsulated Windows API functions. Note that you cannot call MFC class member functions directly - you have to instantiate the class first.
Most of the MFC classes are derived by inheritance from the root class named CObject. CObject provides support for serializing data and obtaining run-time class information, although you don’t need to derive new classes from CObject if you don’t need these capabilities. Other classes in MFC include the following: