IAgentCommand::SetCaption
[Microsoft 代理从 Windows 7 开始已弃用,可能在后续版本的 Windows 中不可用。]
HRESULT SetCaption(
BSTR bszCaption // Caption setting for Command
);
- 返回指示操作成功的S_OK。
设置 Command 的 Caption 属性可定义当角色的 Visible 属性设置为 True 且应用程序不是输入活动客户端时,该命令在弹出菜单上的显示方式。 若要为 Caption 指定访问键 (无内线助记) ,请在该字符前面包含一个 (&) 字符。 若要使其可选,其 Enabled 属性必须设置为 True。
另请参阅
IAgentCommand::GetCaption、 IAgentCommand::SetEnabled、 IAgentCommand::SetVisible、 IAgentCommand::SetVoice、 IAgentCommands::Add、 IAgentCommands::Insert
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈