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


ICustomizeDialog.StartDialog 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.StartDialog Method
ArcGIS Developer Help

ICustomizeDialog.StartDialog Method

Starts the modeless customize dialog.

[Visual Basic .NET]
Public Sub StartDialog ( _
    ByVal hWndParent As Integer _
)
[C#]
public void StartDialog (
    int hWndParent
);
[C++]
HRESULT StartDialog(
  long hWndParent
);
[C++]
Parameters
hWndParent [in]

hWndParent is a parameter of type long

Product Availability

Available with ArcGIS Engine.

Description

Opens a modeless CustomizeDialog on the screen and fires the ICustomizeDialogEvents::OnStartDialog event. The CustomizeDialog allows users to add commands, menus, palettes and toolsets onto the ToolbarControl by ether dragging and dropping or double clicking them.

The CustomizeDialog can be closed through user interaction, calling the CloseDialog method, or when the CustomizeDialog object is released. 

Errors Returned

1041 800a0411: Customize dialog does not have valid component categories

See Also

ICustomizeDialog Interface

.NET Samples

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