Chapter 17

Storing and Printing Documents

WHAT YOU WILL LEARN IN THIS CHAPTER:

  • How serialization works
  • How to make objects of a class serializable
  • The role of a CArchive object in serialization
  • How to implement serialization in your own classes
  • How to implement serialization in the Sketcher application
  • How printing works with MFC
  • Which view class functions support printing
  • What a CPrintInfo object contains and how it’s used in the printing process
  • How to implement multipage printing in Sketcher

WROX.COM CODE DOWNLOADS FOR THIS CHAPTER

You can find the wrox.com code downloads for this chapter on the Download Code tab at www.wrox.com/remtitle.cgi?isbn=9781118368084. The code is in the Chapter 17 download and individually named according to the names throughout the chapter.

Get Ivor Horton's Beginning Visual C++ 2012 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.