IUIX_Button::ShowDropdown Method
From PDF XChange PDF SDK
Line 2: | Line 2: | ||
{{#customTitle:IUIX_Button::ShowDropdown Method}} | {{#customTitle:IUIX_Button::ShowDropdown Method}} | ||
{{#parentPage:PXV:IUIX_Button|ShowDropdown Method|method}} | {{#parentPage:PXV:IUIX_Button|ShowDropdown Method|method}} | ||
− | |||
{{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 | + | '''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 object |
of [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]] interface if one was set in [[PXV:IUIX_Button_Menu|IUIX_Button_Menu]] property. | 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. | In other cases it displays nothing. | ||
Line 14: | Line 14: | ||
== Parameters == | == Parameters == | ||
;bShow | ;bShow | ||
− | :[in, defaultvalue(-1)] value of VARIANT_BOOL. | + | :[in, defaultvalue(-1)] value of VARIANT_BOOL. Displays object of [[PXV:IUIX_ColorPicker|IUIX_ColorPicker]] or [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]] interface (if any) when '''bShow''' is set to VARIANT_TRUE, or hides this object when set to VARIANT_FALSE. |
== Return Value == | == Return Value == | ||
− | Returns S_OK if operation was successful or | + | Returns S_OK if operation was successful or S_FALSE if nothing has been displayed. |
== See Also == | == See Also == | ||
See also [[PXV:IUIX_Button|IUIX_Button]], [[PXV:IUIX_ColorPicker|IUIX_ColorPicker]], [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]]. | See also [[PXV:IUIX_Button|IUIX_Button]], [[PXV:IUIX_ColorPicker|IUIX_ColorPicker]], [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]]. |
Revision as of 05:24, 6 May 2015
ShowDropdown method displays either object of IUIX_ColorPicker interface if button was created with UIX_ButtonStyle_ColorPicker flag, or 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. 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.