IN_SetCommandBitmapIDs

All Editions image\bltlrgsq_shg.gif Related Functions  image\bltlrgsq_shg.gif Example

The IN_SetCommandBitmapIDs function assigns all color and bilevel button bitmaps at once for the specified command. Use IN_SetCommandBitmapID to assign a single button bitmap

Syntax

int IN_SetCommandBitmapIDs( commandID, colSmall, colMedium, colLarge, blSmall, blMedium, blLarge )

Input Parameters

Meaning

SHORT commandID

identifier of the command for which to change the bitmaps. See Command IDs

All bitmap identifiers must be greater than 4000, or -1 for no change:

SHORT colSmall

small color bitmap identifier

SHORT colMedium

medium color bitmap identifier

SHORT colLarge

large color bitmap identifier

SHORT blSmall

small bilevel bitmap identifier

SHORT blMedium

medium bilevel bitmap identifier

SHORT blLarge

large bilevel bitmap identifier

Remarks

The bitmap must appear in an external resource DLL which has been registered before calling this function.

Release information

Added to Imagenation for Windows in Release 4.50.

As of Release 5.1, also available in Imagenation for UNIX.

See also

Changing button bitmaps

Defining buttons and button bars