ArcObjects Library Reference (Controls)  

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