-
Book Overview & Buying
-
Table Of Contents
Microsoft Visual C++ Windows Applications by Example
By :
The Application Wizard creates an application framework that we extend with code specific for the application. The Class Wizard helps us catch and handle messages.
The document/view model consists of one document object, handling the application logic, and one or several view objects, handling user input and data presentation.
Every time an event occurs, a message is sent to the application in focus. We can generate handling code with Class Wizard.
The device context can be viewed both as a canvas to paint on, a toolbox holding pens and brushes, and a connection to the screen and printer.
Between executions, we can store the state of the application in the registry.
The cursor can be set to standard representations.
We can save and load document data by the means of Serialization.
Change the font size
Change margin width
Change background colour