Save map prompt

ilona
08-28-2006, 04:30 PM
Using Mappoint 2004. I have the following code in OnLeave event, but the message "Do you want to save map...?" still comes up every now and then. Is there a way to completely disable this message?

private void axMap_Leave(object sender, System.EventArgs e)
{
this.axMap.ActiveMap.Saved = true;
}

 
Web mp2kmag.com
mapforums.com