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


ICustomizeDialog.SetDoubleClickDestination Method (ArcObjects .NET 10.5 SDK)
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

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