IAgentNotifySink::VisibleState

[Microsoft エージェントは Windows 7 の時点で非推奨となり、以降のバージョンの Windows では使用できない場合があります。]

HRESULT VisibleState(
   long dwCharID,  // character ID
   long bVisible,  // visibility flag
   long dwCause,   // cause of visible state
);                          

文字の可視性の状態が変更されたときに、クライアント アプリケーションに通知します。

  • 戻り値はありません。

dwCharID

可視性の状態が変更された文字の識別子。

bVisible

可視性フラグ。 このブール値は 文字が表示される場合は True、文字が非表示になると False になります。

dwCause

文字の表示状態が最後に変更された原因。 パラメーターには、次のいずれかを指定できます。

説明
const unsigned shortNeverShown = 0;
文字が表示されていません。
const unsigned shortUserHid = 1;
ユーザーは、文字のタスク バー アイコン ポップアップ メニューまたは音声入力で文字を隠しました。.
const unsigned shortUserShowed = 2;
ユーザーが文字を表示しました。
const unsigned shortProgramHid = 3;
アプリケーションが文字を隠しました。
const unsigned shortProgramShowed = 4;
アプリケーションに文字が表示されました。
const unsigned shortOtherProgramHid = 5;
別のアプリケーションが文字を隠しました。
const unsigned shortOtherProgramShowed = 6;
別のアプリケーションで文字が表示されました。
const unsigned shortUserHidViaCharacterMenu = 7
ユーザーは、文字のポップアップ メニューで文字を隠しました。
const unsigned shortUserHidViaTaskbarIcon = UserHid
ユーザーは、文字のタスク バー アイコン ポップアップ メニューまたは音声入力を使用して文字を隠しました。

参照

IAgentCharacter::GetVisibleIAgentCharacter::GetVisibilityCause