Platform SDK: Agent |
HRESULT SetEnabled( long bEnabled // Enabled setting for Command );
Sets the Enabled property for a Command.
A Command must have its Enabled property set to True to be selectable. It also must have its Caption property set and its Visible property set to True to appear in the character's pop-up menu. To make the Command appear in the Voice Commands Window, you must set its Voice property.
IAgentCommand::GetCaption, IAgentCommand::SetVoice, IAgentCommands::Add, IAgentCommands::Insert