다음을 통해 공유


IAgentCommand::SetVisible

[Microsoft 에이전트는 Windows 7을 기준으로 사용되지 않으며 이후 버전의 Windows에서는 사용할 수 없습니다.]

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

명령Visible 속성의 값을 설정합니다.

  • 작업이 성공했음을 나타내는 S_OK 반환합니다.

bVisible

명령Visible 속성을 결정하는 부울 값입니다. True명령; False 숨깁니다.

명령표시 속성이 True 설정되고 해당 캡션 속성이 문자의 팝업 메뉴에 표시되도록 설정되어 있어야 합니다.

참고 항목

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