laptop and a wrench

Bug

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.

Zuletzt veröffentlicht: August 25, 2014 No Product Found
Bug-ID-Nummer NIM034895
EingereichtMay 5, 2008
Zuletzt geändertJune 5, 2024
Gilt fürNo Product Found
Gefunden in Version9.2
StatusWill Not Be Addressed

Zusätzliche Informationen

No Public Explanation

Schritte zur Reproduzierung

Bug-ID: NIM034895

Software:

  • No Product Found

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln