ArcObjects Library Reference (Controls)  

ICustomizeDialog.SetDoubleClickDestination Method

Sets the ToolbarControl commands are added to when double clicked.

[Visual Basic .NET]
Public Sub SetDoubleClickDestination ( _
    ByVal pToolbarControl As Object _
)
[C#]
public void SetDoubleClickDestination (
    object pToolbarControl
);
[C++]
HRESULT SetDoubleClickDestination(
  LPUNKNOWN pToolbarControl
);
[C++]

Parameters

pToolbarControl [in]   pToolbarControl is a parameter of type LPUNKNOWN

Product Availability

Available with ArcGIS Engine.

Description

Determines the ToolbarControl that new items will be added to when an ICommand, IMenuDef, IPaletteDef or IToolbarDef object is double clicked upon in the CustomizeDialog.

Errors Returned

1037 800a040d: Destination must be a ToolbarControl

See Also

ICustomizeDialog Interface

.NET Snippets

Customize ToolbarControl |

.NET Samples

Allow run time customization of the ToolbarControl (Code Files: Customization) | Building a MapViewer application using the ArcGIS Engine controls (Code Files: MapViewer) |