June 2008
Intermediate to advanced
440 pages
8h 9m
English
This chapter presents a simple Windows application, with the purpose of introducing the features of MFC. When the user clicks the left mouse button, a ring is drawn. The user can choose the color of the next ring as well as save and load the set of rings. We will start by creating the framework with the help of the Application Wizard, and then add application specific code.

We store the colors and positions of the ring in an array. There is a predefined type COLORREF holding a color.
When the user presses or releases the mouse, messages are sent tothe application. We use the Class Wizard to create methods that ...
Read now
Unlock full access