laptop and a wrench

Erro

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 Publicação: August 25, 2014 No Product Found
Número de ID do Erro NIM034895
EnviadoMay 5, 2008
Última ModificaçãoJune 5, 2024
Aplica-se àNo Product Found
Versão encontrada9.2
StatusWill Not Be Addressed

Informações Adicionais

No Public Explanation

Etapas para Reproduzir

ID do Erro: NIM034895

Software:

  • No Product Found

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download