laptop and a wrench

Bogue

IMxDocument::UpdateContents doesn't refresh TOC's Selection tab if called from IActiveview_ContentsChanged. The list of selected items in teh TOC won't change until you call IMxDocument::UpdateContents. This method must be called to refresh the TOC tab. The user has some business logic where she might only want certain layers selected based on user selectable layers. She knows the user has changed a selected layer as the ContentsChanged fires when a user selects/unselects a layer in the Selection tab (TOC). She wants to call IMxDocument::UpdateContents in this event. When she does so her tab/TOC never updates. If you move the IMxDocument::UpdateContents to an ICommand_OnCLick it works.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM034895
EnvoiMay 5, 2008
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée9.2
StatutWill Not Be Addressed

Informations supplémentaires

No Public Explanation

Étapes pour reproduire

ID de bogue: NIM034895

Logiciel:

  • No Product Found

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement