Has anyone ever created a custom MapAction by inheriting from the ESRI MapAction class? Or better yet, the ZoomInMapAction class? I have seen a couple posts on the old forum but they only snippets, or are old (9.2).What I am trying to do is inherit from ZoomInMapAction to create a custom zoom tool with different zoombox color. I have a related post in this topic here:http://forums.arcgis.com/threads/13381-Change-color-of-zoom-box-in-9.3.1-Mobile-map-controlHave not had too many responses to that, so now just checking to see if anyone has succesfully created any kind of customized MapAction class.What I would want to do is something along the lines of this (VERY incomplete - just pseudo code really; I don't know what methods etc. I need to implement to get this to work):public class CustomZoomInMapAction : ZoomInMapAction
{
public CustomZoomInMapAction()
{
this.Map.Paint += new System.EventHandler<ESRI.ArcGIS.Mobile.MapPaintEventArgs>(Map_Paint);
}
void Map_Paint(object sender, MapPaintEventArgs e)
{
e.Display.DrawEnvelope(. . .);
}
}The idea would be to paint my own envelope in the paint event rather than the envelope and other graphics the default zoom tool draws.I know this is a bit of an obscure question. I appreciate any tips/suggestions anyone might have. Thanks.