The SetCommandBitmapID transaction changes which button image is associated with the specified command. To change the full set of buttons associated with a command with one transaction, use SetCommandBitmapIDs.
Type XTYP_EXECUTE
Syntax [SetCommandBitmapID(commandID, bitmapType, bitmapID)]
|
Parameter |
Data type |
Values |
Meaning |
|
commandID |
DWORD |
command with which to associate the bitmap | |
|
bitmapType |
WORD |
1 |
large bilevel bitmap |
|
|
|
2 |
large color bitmap |
|
|
|
3 |
medium bilevel bitmap |
|
|
|
4 |
medium color bitmap |
|
|
|
5 |
small bilevel bitmap |
|
|
|
6 |
small color bitmap |
|
bitmapID |
DWORD |
value greater than 4000 |
identifier of the new bitmap to use |
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