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, 2015ArcObjects SDK for the Microsoft .NET Framework
Bug ID Number
May 5, 2015
October 20, 2021
ArcObjects SDK for the Microsoft .NET Framework
Will Not Be Addressed
The development team has considered the issue or request and concluded it will not be addressed. The issue's Additional Information section may contain further explanation.
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.
Call this.ActiveControl = axMapControl1 in the IMapControlEvents2_OnMouseDownEvent, so the active control can be explicit set to map control.