IAgentCommands::SetVisible
[Microsoft 代理从 Windows 7 开始已弃用,可能在后续版本的 Windows 中不可用。]
HRESULT SetVisible(
long bVisible // the Visible setting for Commands collection
);
- 返回指示操作成功的S_OK。
Commands 集合必须设置其 Caption 属性并将其 Visible 属性设置为 True,才能显示在字符的弹出菜单上。 还必须将 Visible 属性设置为 True ,以便当客户端应用程序处于输入活动状态时,集合中的命令才会显示。
另请参阅
IAgentCommands::GetVisible、 IAgentCommand::SetCaption