Caching of toolbar names in ArcMap

Posted by Marko Apfel on Geeks with Blogs See other posts from Geeks with Blogs or by Marko Apfel
Published on Tue, 08 Jun 2010 08:06:52 GMT Indexed on 2010/06/08 8:23 UTC
Read the original article Hit count: 318

Filed under:

For little GUI-changes in own ArcMap-customizations normally it is enough to start the application and look that every entry is visible. Especially for refactoring of an own toolbar it was still enough to verify that the toolbar is already shown in the choice-list.

But this is a fallacy: the entries there comes from a cache. You could verify this by dumping informations in the toolbar constructor. The constructor is only called if the toolbar is activated! Otherwise you see the toolbar name, but this name comes out of a cache.

The cache is stored in the registry under:

HKCU\Software\ESRI\ArcMap\Settings\CommandBarNameCache

© Geeks with Blogs or respective owner