laptop and a wrench

Bug

Invoking a button during a map being refreshed causes MapControl to halt drawing before finishing.

Last Published: August 25, 2014 ArcGIS Engine
Bug ID Number NIM041722
SubmittedJanuary 17, 2009
Last ModifiedJune 5, 2024
Applies toArcGIS Engine
Version found9.3
Operating SystemWindows OS
Operating System VersionXP
Version FixedN/A
StatusFixed

Workaround

For the scenario as described, the following code can be put in MainForm_Load so that mouse clicks do not halt a redraw.Dim cancelTracker As ESRI.ArcGIS.esriSystem.ITrackCancel cancelTracker = Me.axMapControl1.TrackCancel() cancelTracker.CancelOnClick = FalseThere is a snippet and lots of samples at the following location (for the engine developer) ms-help://MS.VSCC.v90/MS.VSIPCC.v90/ESRI.EDNv9.3/esriSystem/html/ITrackCancel.htm

Steps to Reproduce

Bug ID: NIM041722

Software:

  • ArcGIS Engine

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options