Select to view content in your preferred language

Firing pattern for ICommand Enable events

572
0
04-19-2010 06:28 PM
ChuckHorne
Emerging Contributor
I used to believe that there were specific document events that triggered things like ICommand.Enable events. I think I remember having to clean up some customizations so that they would properly raise these events, and perform properly right away without waiting for some user activity to trigger a  refresh.
Now, however, I am seeing command enble events firing pretty much constantly.For example, I just wrote a little test command that does nothing but log its enable executions and even if I trim ArcMap back to just 2 or three standard tool bars, plus my command, that even while minimized, the Enable runs once per second; if I mouse over the app, the rate of course goes up alot.

So, my questions are:

Is there a setting (eg in AdvancedArcMapSettings) that might affect this much?
Am I remembering this incorrectly, or is this behavior new (relative to say Arc 8)?
0 Kudos
0 Replies