Exercises

Exercise 27.1: Add two game size buttons

We will probably use the Medium and Large game sizes the most. Add toolbar buttons for these two menu commands. Draw the buttons yourself.

Exercise 27.2: Add Window | New and Window | Tile buttons

The Pop menu labels the standard Window | New button as Window | Additional View of current game. Add a toolbar button for this menu command. Instead of drawing the button yourself see if you can find a way to copy it from somewhere else. One approach is to look for appropriate *.bmp images on your hard drive. Visual Studio, in particular, will have a lot of them in its subdirectories.

Exercise 27.3: Adding an accelerator key

Make the Ctrl+A combination be an accelerator for Window | New.

Exercise ...

Get Software Engineering and Computer Games 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.