IAgentCommands::SetVisible
[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]
HRESULT SetVisible(
long bVisible // the Visible setting for Commands collection
);
Sets the value of the Visible property for a Commands collection.
- Returns S_OK to indicate the operation was successful.
-
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