Chapter 8. Building a Spreadsheet Application

In this chapter, we will start developing the last application of this book–a spreadsheet program capable of calculating numerical expressions as well as cutting and pasting cells with relative references. Similar to the word processor in the previous chapters, the spreadsheet program cuts and pastes ASCII and Unicode text as well as application-specific information. Moreover, it is possible to change the font and color of the cells and their horizontal and vertical alignment.

In this chapter, we will look at the following:

  • Mouse and keyboard input
  • Drawing a spreadsheet
  • Saving and loading the spreadsheet
  • Cutting, copying, and pasting cell blocks
  • Fonts, colors, and alignments of cell blocks

The MainWindow ...

Get C++ Windows Programming 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.