BITMAP resource

Defines a bitmap that an application uses in its screen display or as an item in a menu or control.

nameID BITMAP filename

Parameters

nameID

Unique name or a 16-bit unsigned integer value identifying the resource.

filename

Name of the file that contains the resource. The name must be a valid file name; it must be a full path if the file is not in the current working directory. The path should be a quoted string.

Certain attributes are also supported for backward compatibility. For more information, see Common Resource Attributes.

Examples

The following example defines two bitmap resources:

disk1   BITMAP "disk.bmp"
12      BITMAP "diskette.bmp"

See also

Using Bitmaps

LoadBitmap

LoadImage