Platform SDK: Agent

IAgentCommand::SetVisible

HRESULT SetVisible(
   long bVisible  // Visible setting for Command
);

Sets the value of the Visible property for a Command.

bVisible
A Boolean value that determines the Visible property of a Command. True shows the Command; False hides it.

A Command must have its Visible property set to True and its Caption property set to appear in the character's pop-up menu.

See Also

IAgentCommand::GetVisible, IAgentCommand::SetCaption, IAgentCommands::Add, IAgentCommands::Insert