Follow this tutorial to write a simple but complete Windows application using the Microsoft Foundation Class Library. The resulting program appears smaller and simpler than the equivalent traditional Windows program. The process of writing the program is essentially this:
1.Write an application class that is derived from one of the Microsoft Foundation Classes.
2.Write a window class that is also derived from a Microsoft Foundation class.
The rest of this section describes the example program.