The Command_SetStringProperty() function sets a specified string property for a command.
Command_SetStringProperty(command_tag, property, value)
• command_tag – The integer tag value for the command whose property is being set.
• property – An integer constant indicating the property to set. The value corresponds to one of the following constants:
Constant |
Description |
---|---|
COMMAND_PROP_DISPLAY_NAME |
The text used for the command name, including any special characters. |
COMMAND_PROP_TOOLTIP |
The tooltip displayed when the command is used on a toolbar. |
• value – A string value indicating how to set the property.
A boolean indicating whether the property was set. True indicates the property was set, while false indicates it was not.