MapWinGIS:Feature Identifier
From MapWindow GIS
Simple Feature Identifier
Here are the basic steps for creating a simple feature identifier using the MapWinGIS ActiveX Control.
1) Set the SendSelectBoxFinal property = true (so you get these events) http://www.mapwindow.org/wiki/index.php/MapWinGIS:AxMap_SendSelectBoxFinal
2) Use the SelectBoxFinal event to get the XY coordinates where the user clicked. http://www.mapwindow.org/wiki/index.php/MapWinGIS:AxMap_SelectBoxFinal
3) Convert the XY coordinates to "real" map coordinates using PixelToProj http://www.mapwindow.org/wiki/index.php/MapWinGIS:AxMap_PixelToProj
4) Now use the real map coordinates in the SelectShapes function to do a selection within your shapefile: http://www.mapwindow.org/wiki/index.php/MapWinGIS:Shapefile_SelectShapes
5) Now get the attribute table entries for your shapefile using CellValue: http://www.mapwindow.org/wiki/index.php/MapWinGIS:Shapefile_CellValue
