Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 6 down vote accepted

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);
share|improve this answer
    
great. Thanks Petr. –  Jakub Nov 28 '10 at 18:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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