Modifying the About Circ Control Dialog Box

ControlWizard created an About Circ Control dialog box template in the file CIRC.RC. It also defined the AboutBox "method" for the Circle control. A method is a function in a control that can be called from outside the control. The About Circ Control dialog box is displayed when the control container calls the control's AboutBox method.

ControlWizard also created an icon file called CIRC.ICO, which is displayed in the About Circ Control dialog box. You will use the resource editor to customize this icon in much the same way as you modified the control bitmap.

To modify the About dialog box icon

  1. In the ResourceView pane, double-click the Circ project folder.

  2. Open the Icon folder.

  3. Double-click IDI_ABOUTDLL to start the resource editor for that icon.

  4. Edit the icon. Like the control bitmap, the icon should have a look representative of the Circle control. For example, select the single pixel pencil in the Graphics toolbox and draw a one-pixel-wide circle.

  5. From the File menu, click Save to save the changes to the icon.

  6. Close the icon editor window.