m_PlanActiveView = m_pMap 'set the Map of the MapControl m_PlanActiveView.ShowScrollBars = False 'MapControl ScrollBars are not visible If ClassGlobal.ActiveView.FocusMap IsNot m_pMap Then 'ClassGlobal.ActiveView is the ActiveView of ArcMap ClassGlobal.ActiveView.ShowScrollBars = True 'If this line is executed m_PlanActiveView.ShowScrollBars changes to True(!!!) ClassGlobal.ActiveView.ShowSelection = False 'Test if this problem affects other properties of the MapControl m_PlanActiveView.ShowSelection = True '.. no, ClassGlobal.ActiveView.ShowSelection stays False while m_PlanActiveView.ShowSelection is True End If
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.