Command_SetStringProperty()

Examples


The Command_SetStringProperty() function sets a specified string property for a command.

Syntax

Command_SetStringProperty(command_tag, property, value)

Parameters

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:

[spacer]

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.

Return value

A boolean indicating whether the property was set. True indicates the property was set, while false indicates it was not.


Documentation Feedback