IUIX_CmdItem::ShowPopup Method

From PDF XChange PDF SDK
Jump to: navigation, search


Sets whether the command item's popup would be shown.

Syntax

HRESULT ShowPopup([in, defaultvalue(-1)]  VARIANT_BOOL  bShow,
                  [in, defaultvalue(-1)]  VARIANT_BOOL  bAnimated);

Parameters

bShow
[in, defaultvalue(-1)] Value of VARIANT_BOOL that indicates whether the popup would be shown.
bAnimated
[in, defaultvalue(-1)] Value of VARIANT_BOOL that indicates whether the popup would be animated.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IUIX_CmdItem