BITMAP

nameID BITMAP [load-option] [mem-option] filename

The BITMAP resource-definition statement specifies a custom bitmap that an application uses in its screen display or as an item in a menu.

Parameters

nameID

Specifies either a unique name or an integer value identifying the resource.

load-option

Specifies when the resource is to be loaded. The parameter must be one of the following:

Option Description

PRELOAD Resource is loaded immediately.
LOADONCALL Resource is loaded when called. This is the default option.

mem-option

Specifies whether the resource is fixed or movable and whether it is discardable. The parameter must be one of the following:

Option Description

FIXED Resource remains at a fixed memory location.
MOVEABLE Resource can be moved if necessary in order to compact memory.
DISCARDABLE Resource can be discarded if no longer needed.

The default for bitmap resources is MOVEABLE.

filename

Specifies the name of the file that contains the resource. The name must be a valid MS-DOS filename; it must be a full path if the file is not in the current working directory. The path can either be a quoted or non-quoted string.

Examples

The following example specifies two bitmap resources:

disk1   BITMAP disk.bmp
12      BITMAP PRELOAD diskette.bmp

See Also

LoadBitmap