6

When I start editing in ArcMap 10, by default the "Create Features" window is automatically opened and docked. Stopping the edit session hides this window.

When I use the IEditor:StartEditing method this does not display the "Create Features" window however if it is already displayed the IEditor:StopEditing method hides it.

How can I Start Editing programmatically and display the "Create Features" window?

alt text

1 Answer 1

6

This should do the trick (C#):

  var dockableWindowManager = (IDockableWindowManager)_app; // _app is an IApplication reference
  var uid = new UIDClass() { Value = "esriEditor.CreateFeatureDockWin" };
  var window = dockableWindowManager.GetDockableWindow(uid);
  window.Show(true);
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.