Inserting an Image into a Button

When you create a new button to be added to a customized toolbar, you can change the default image of the button to any image of your own choice, provided you have saved it to a bitmap file (Windows Bitmap format, extension ".bmp") conforming to the following rules governing sizes and colors.

Image size
The size of images depends on the selected button Size::
Small 16 x 16
Medium 24 x 24
Large 32 x 32
No other size is allowed.

Image background color
The image background color must be the following:
Hexadecimal 0xd6d6d6
RGB 214, 214, 214

Transparency
The color used for the topmost-left pixel of the button is the one used for transparency in that bitmap. All pixels of that color will be transparent once the image has been assigned to the button.

Image format
Images must be saved to ".bmp" files in the 24 bpp (Bits-Per-Pixel) format.

To insert an image previously saved to a ".bmp" file into a button, proceed as follows.

  1. Select ToolsCustomize from the menu bar to open the Customize dialog box.
  2. Right-click on the newly inserted button to which you want to assign the image and then select Change Button Icon.
  3. In the Customize Button dialog box, select Browse.
  4. In the file selection box, select the file containing the desired bitmap.
  5. Select OK.
Tip
Create two bitmap files and name them according to image size with the number of pixels at the end, separated from the rest of the name by the underline ('_') character (for example, jack_16.bmp and jack_24.bmp). In this way, you can assign both bitmap sizes to the button by selecting just one of the two.