laptop and a wrench

不具合

When the 'Open MXD' button is used in the EngineControls sample(to switch from MXD with a custom layer to a blank MXD), the custom layer is not being unloaded properly.

最後に公開された状態: August 25, 2014 No Product Found
不具合 ID 番号 NIM012188
送信されましたOctober 5, 2007
最終更新日June 5, 2024
適用対象No Product Found
見つかったバージョン9.2
プログラム言語VC++
修正されたバージョン9.3
ステータスFixed

対処法

Need to clear the ActiveView when the OnPageLayoutReplaced event is calledHere are the code changes for a workaround. In the file EngineControlsDlg.cpp - HRESULT CEngineControlsDlg::OnPageLayoutReplaced(VARIANT newMap){ if(m_ipPageLayout) { m_ipPageLayout ->Clear(); } m_ipPageLayoutControl->get_ActiveView(&m_ipPageLayout); // Get the IActiveView of the focus map in the PageLayoutControl IActiveViewPtr ipActiveView; m_ipPageLayoutControl->get_ActiveView(&ipActiveView); In the file EngineControlsDlg.h – // The Controls IToolbarControlPtr m_ipToolbarControl; IToolbarControlPtr m_ipMapToolbarCtrl; ITOCControlPtr m_ipTOCControl; IMapControl3Ptr m_ipMapControl; IPageLayoutControl2Ptr m_ipPageLayoutControl; IActiveViewPtr m_ipPageLayout;

再現の手順

不具合 ID: NIM012188

ソフトウェア:

  • No Product Found

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動