This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IC > ICustomizeDialog Interface > ICustomizeDialog.StartDialog Method (ArcObjects .NET 10.4 SDK) |
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
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.
1041 800a0411: Customize dialog does not have valid component categories