Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to catch the Alt key plus an addionally hit key in the MapControl's OnKeyDown. I did already set MapControl's KeyIntercept to esriKeyIntercept.esriKeyInterceptAlt but the event handler doesn't get raised on Alt or Alt + key. It does get hit on other keys. Any suggestions?

_mapControl.KeyIntercept = (int)(esriKeyIntercept.esriKeyInterceptAlt);


void _mapControl_OnKeyDown(object sender, IMapControlEvents2_OnKeyDownEvent e)
share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.