Like any C++ class library, the Microsoft Foundation Class Library encapsulates its functionality in classes. The important Windows class categories are:
The main application class, CWinApp
The window classes–CWnd and its derived classes
The graphics device interface (GDI) classes, which support device contexts and drawing tools
The miscellaneous classes, which support menus, points, and rectangles