Book Image

Microsoft Visual C++ Windows Applications by Example

By : Stefan Bjornander, Stefan Björnander
Book Image

Microsoft Visual C++ Windows Applications by Example

By: Stefan Bjornander, Stefan Björnander

Overview of this book

Table of Contents (15 chapters)
Microsoft Visual C++ Windows Applications by Example
Credits
About the Author
About the Reviewer
Preface
Index

Summary


  • 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.