This document is archived and information here might be outdated.  Recommended version.


ICustomizeDialog.SetDoubleClickDestination Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IC > ICustomizeDialog Interface > ICustomizeDialog.SetDoubleClickDestination Method
ArcGIS Developer Help

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 IUnknown

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 Samples

Building a MapViewer application using the ArcGIS Engine controls Allow run time customization of the ToolbarControl