C programming with Windows is intimidating because of the complex interrelationship between functions and the proliferation of messages. The progammer must write a WndProc function for each type of window and a main program called WinMain. Each WndProc function processes the window's messages by means of a case statement and must be linked to windows and to the application through an elaborate data structure.
The Microsoft Foundation classes for Windows encapsulate most of this complexity while allowing the same flexibility found in the C programming environment. You don't need to write the WinMain and WndProc functions because they are provided for you. However, you can override them if necessary.