O'Reilly logo

C++ Windows Programming by Stefan Björnander

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required