laptop and a wrench

Error

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.

Última publicación: August 25, 2014 No Product Found
Número de ID del error NIM034895
EnviadoMay 5, 2008
Última modificaciónJune 5, 2024
Relacionado conNo Product Found
Versión encontrada9.2
EstadoWill Not Be Addressed

Información adicional

No Public Explanation

Pasos para reproducir

ID del error: NIM034895

Software:

  • No Product Found

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga