Select to view content in your preferred language

Extensions window not refreshing when programatically changed

663
0
06-20-2014 07:28 AM
AlexanderGray
Honored Contributor
I have a few extensions (3 and growing) that implement IExtensionConfig.  The extensions are for doing different sorts of task in ArcMap, so they rely on different data loaded, enable different custom tools etc.  I only want one extension enable at the time.  So I added logic in IExtensionConfig.state set to check the state of the other extension when a user turns the extension on and display a message an disable the extension.  That is fine but the extension window is not refreshed.  If I close and reopen it, it appears correctly.

This is similar to this thread but it is not add-ins and that thread didn't have an answer.
http://forums.arcgis.com/threads/52088-AcrMap-Application-Extension-AddIn-and-IExtensionConfig

How to I get the window to refresh?
0 Kudos
0 Replies