Platform SDK: Agent

IAgentCommands::SetVisible

HRESULT SetVisible(
   long bVisible  // the Visible setting for Commands collection
);

Sets the value of the Visible property for a Commands collection.

bVisible
A Boolean value that determines the Visible property of a Commands collection. True sets the Commands collection's Caption to be visible when the character's pop-up menu is displayed; False does not display it.

A Commands collection must have its Caption property set and its Visible property set to True to appear on the character's pop-up menu. The Visible property must also be set to True for commands in the collection to appear when your client application is input-active.

See Also

IAgentCommands::GetVisible, IAgentCommand::SetCaption