The Command_GetImageProperty() function retrieves the specified image defined for a command.
Command_GetImageProperty(command_tag, property, dict_ID, image_ID)
• command_tag – The integer tag value for the command whose property is being retrieved.
• property – An integer constant indicating the property to retrieve. The value corresponds to one of the following constants:
Constant |
Description |
---|---|
COMMAND_PROP_NORMAL_IMAGE |
Specifies the image displayed in the normal state. |
COMMAND_PROP_CHECKED_IMAGE |
Specifies the image displayed in the checked state. |
• dict_ID – A returned integer that contains the ID of the dictionary containing the image used for the command.
• image_ID – A returned integer containing the resource ID of the image used for the command.
A boolean. The value true indicates the property was retrieved, while the value false indicates it was not.