The Menu


Description

Using the resource editor to create a menu, and responding the the WM_COMMAND message

Code

Scribble3.cpp - view
Scribble3.rc - view
resource.h - view
Scribble3.zip - download

Exercises

We've shown how to use the functions LineTo and Rectangle to draw shapes on the client area. There's another function, Ellipse, that draws ellipses onto the client area. Take a look at it and try to extend Scribble's functionality to include ellipses as well as rectangles and lines.


Previous: Basic User Input
Next: Adding Scroll Bars