Creating a Bitmap

Bitmaps are used to add decoration to dialog boxes and to add user defined commands to the tool bar of a program. To create an bitmap follow the following steps

Select Bitmap from the list of reasouces and use the right button to create a new resource.
You will be asked "Do you want this icon to be created in source form." Click on source form.
Then you must enter the size and attributes of your icon. When creating icons for the tool bar, size should be 20x20 with 16 colors. For a push button, the size of 64x64 with 256 colors is fine.
Now you can draw your bitmap with functions that are similar to most paint programs.

An Application of Bitmaps

To see how to insert a bitmap into a dialog box click here.