Select to view content in your preferred language

Duplicate the Info Button Functionality

626
0
07-19-2013 08:34 AM
RodneyHassell
New Contributor
I'm looking to duplicate the Info toolbar button (from ArcMap) functionality in a .NET application that is using AxMapControl.  I would like a user to be able to left-click on the map and that causes a dialog to pop up displaying information for the layers about the point that was clicked on.

I have already tried using the point to create a IGeometry and using the IGeometry with a ISpatialFilter that gets passed into the IFeatureClass.Search() method on each of the layers that are part of the map.  Even after clicking directly on an address point that I know to be part of a selectable layer, nothing is returned from my search call.

Any help or pointers will be appreciated.
0 Kudos
0 Replies