Intercepting mouse events when drawing a new graphics element in ArcMap

Discussion created by vandervoort on Jul 18, 2011
C#, 9.3.1, ArcMap extension.

I am interesting in gathering information from mouse events in the PageLayout_NewLine and PageLayout_NewPolygon tools on the Draw toolbar.

I can get the active tool - no problem. I want to track what the tool is doing - OnMouseMove, OnMouseDown, etc. There are polyline and polygon graphic elements being constructed and I need to track in my ArcMap extension what the user is doing to draw their graphics while the graphic elements are being constructed.