SetCommandBitmapIDs

All Editions  image\bltlrgss.gif Related Transactions  image\bltlrgss.gif Example

The SetCommandBitmapIDs transaction changes the full set of button images associated with a command.

Type XTYP_EXECUTE

Syntax [SetCommandBitmapsIDs(commandID, col_small, col_medium, col_large, bl_small, bl_medium, bl_large)]

Parameter

Data type

Values

Meaning

commandID

DWORD

Command IDs

command with which to associate the bitmap

col_small

WORD

-1

no change

 

 

4000 or more

identifier of the new small color bitmap

col_medium

WORD

-1

no change

 

 

4000 or more

identifier of the new medium color bitmap

col_large

WORD

-1

no change

 

 

4000 or more

identifier of the new large color bitmap

bl_small

WORD

-1

no change

 

 

4000 or more

identifier of the new small bilevel bitmap

bl_medium

WORD

-1

no change

 

 

4000 or more

identifier of the new medium bilevel bitmap

bl_large

WORD

-1

no change

 

 

4000 or more

identifier of the new large bilevel bitmap

Remarks

The bitmap to use must appear in an external resource DLL, and the resource DLL must be registered using LoadResourceLibrary.

Release information

Added in Release 4.5.

See also

Defining button bars

Changing button bitmaps