BITMAP Resource

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

Syntax

nameID BITMAP filename
 

Parameters

nameID
Specifies either a unique name or a 16-bit unsigned integer value identifying the resource.
filename
Specifies the name of the file that contains the resource. The name must be a valid 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 nonquoted string.

Example

The following example specifies two bitmap resources:

disk1   BITMAP disk.bmp
12      BITMAP diskette.bmp 
 

See Also

LoadBitmap