IUIX_Button::ShowDropdown Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 5: | Line 5: | ||
{{ToReview}} | {{ToReview}} | ||
− | + | '''ShowDropdown''' method displays either object of [[PXV:IUIX_ColorPicker|IUIX_ColorPicker]] interface if [[PXV:IUIX_Button|button]] was created with [[PXV:UIX_ButtonStyleFlags|UIX_ButtonStyle_ColorPicker]] flag, or displays object | |
+ | of [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]] interface if one was set in [[PXV:IUIX_Button_Menu|IUIX_Button_Menu]] property. | ||
+ | In other cases it displays nothing. | ||
== Syntax == | == Syntax == | ||
Line 12: | Line 14: | ||
== Parameters == | == Parameters == | ||
;bShow | ;bShow | ||
− | :[in, defaultvalue(-1)] | + | :[in, defaultvalue(-1)] value of VARIANT_BOOL. Shows or hides dropdown object |
== Return Value == | == Return Value == | ||
Line 18: | Line 20: | ||
== See Also == | == See Also == | ||
− | See also [[PXV:IUIX_Button|IUIX_Button]]. | + | See also [[PXV:IUIX_Button|IUIX_Button]], [[PXV:IUIX_ColorPicker|IUIX_ColorPicker]], [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]]. |
Revision as of 02:45, 6 May 2015
ShowDropdown method displays either object of IUIX_ColorPicker interface if button was created with UIX_ButtonStyle_ColorPicker flag, or displays object
of IUIX_CmdMenu interface if one was set in IUIX_Button_Menu property.
In other cases it displays nothing.
Contents
Syntax
HRESULT ShowDropdown([in, defaultvalue(-1)] VARIANT_BOOL bShow);
Parameters
- bShow
- [in, defaultvalue(-1)] value of VARIANT_BOOL. Shows or hides dropdown object
Return Value
Returns S_OK if operation was successful or error code in other cases.
See Also
See also IUIX_Button, IUIX_ColorPicker, IUIX_CmdMenu.