var ctrlman = m_Map.GetCtrlMan(); var poiman = ctrlman.GetPOIMan(); if (poiman.GetVisible()) { alert("POIMan Visible"); } else { alert("POIMan InVisible"); }
#include "CXCtrlMan.h" #include "CXPOIMan.h" CXCtrlMan ctrlman = m_Map.GetCtrlMan(); CXPOIMan poiman = ctrlMan.GetPOIMan(); if (poiman.GetVisible()) { AfxMessageBox(_T("Visible")); } else { AfxMessageBox(_T("InVisible")); }