laptop and a wrench

Bug

Under certain conditions, after clicking on MapControl, the Active Control does not return to MapControl, but ToolbarControl, which causes IToolbarControlEvents.OnKeyDown getting fired, instead of IMapControlEvents2.OnKeyDown.

Last Published: June 3, 2015 ArcObjects SDK
Bug ID Number BUG-000087443
SubmittedMay 5, 2015
Last ModifiedJune 5, 2024
Applies toArcObjects SDK
Version found10.0
Operating SystemWindows OS
StatusWill Not Be Addressed

Additional Information

We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.

Workaround

Call this.ActiveControl = axMapControl1 in the IMapControlEvents2_OnMouseDownEvent, so the active control can be explicit set to map control.

Steps to Reproduce

Bug ID: BUG-000087443

Software:

  • ArcObjects SDK

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