IAgentCharacterEx::GetAutoPopupMenu

[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]

HRESULT GetAutoPopupMenu(
   long * pbAutoPopupMenu  // address of auto pop-up menu display setting
);

Retrieves whether the server automatically displays the character's pop-up menu.

  • Returns S_OK to indicate the operation was successful.

pbAutoPopupMenu

Address of a variable that receives True if the Microsoft Agent server automatically handles displaying the character's pop-up menu and False if not.

When this property is set to False, your application must display the pop-up menu using IAgentCharacterEx::ShowPopupMenu method.

This property applies only to your client application's use of the character; the setting does not affect other clients of the character or other characters of your client application.

See Also

IAgentCharacterEx::SetAutoPopupMenu, IAgentCharacterEx::ShowPopupMenu