Scribble’s New Menu Commands

In the following topics, you will add a Clear All command to Scribble’s default Edit menu, as well as a Pen menu with two commands, Thick Line and Pen Widths. The Clear All command clears the current drawing and deletes its stroke data. The Thick Line command toggles the thickness of the lines (either thin or thick) used to draw subsequent strokes. The Pen Widths command displays a dialog box that lets the user define, in pixels, the width of the thick and thin lines for subsequent drawing.