IUIX_Button::ShowDropdown Method

From Tracker Software PDF SDK
Revision as of 14:06, 14 May 2015 by Craig (Talk | contribs)

Jump to: navigation, search


ShowDropdown method displays either an IUIX_ColorPicker object interface if button was created with UIX_ButtonStyle_ColorPicker flag, or IUIX_CmdMenu object interface if one was set in IUIX_Button_Menu property.

In other cases it displays nothing.

Syntax

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

Parameters

bShow
[in, defaultvalue(-1)] value of VARIANT_BOOL. Displays object of IUIX_ColorPicker or IUIX_CmdMenu interface (if any) when bShow is set to VARIANT_TRUE, or hides this object when set to VARIANT_FALSE.

Return Value

Returns S_OK if operation was successful or S_FALSE if nothing has been displayed.

See Also

See also IUIX_Button, IUIX_ColorPicker, IUIX_CmdMenu.