IUIX_Button::ShowDropdown Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Button::ShowDropdown Method}}
 
{{#customTitle:IUIX_Button::ShowDropdown Method}}
{{#parentPage:PXV:IUIX_Button#Methods|ShowDropdown Method|method}}
+
{{#parentPage:PXV:IUIX_Button#Methods|ShowDropdown|method}}
  
 
'''ShowDropdown''' method displays either an [[PXV:IUIX_ColorPicker|IUIX_ColorPicker]] object interface if [[PXV:IUIX_Button|button]] was created with [[PXV:UIX_ButtonStyleFlags|UIX_ButtonStyle_ColorPicker]] flag, or [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]] object interface if one was set in [[PXV:IUIX_Button_Menu|IUIX_Button_Menu]] property.  
 
'''ShowDropdown''' method displays either an [[PXV:IUIX_ColorPicker|IUIX_ColorPicker]] object interface if [[PXV:IUIX_Button|button]] was created with [[PXV:UIX_ButtonStyleFlags|UIX_ButtonStyle_ColorPicker]] flag, or [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]] object interface if one was set in [[PXV:IUIX_Button_Menu|IUIX_Button_Menu]] property.  

Latest revision as of 08:38, 23 May 2015

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

IUIX_Button