var ctrlman = m_Map.GetCtrlMan(); var type = ctrlman.GetDefaultDrawType(); alert("Draw Type : " + type);
#include "CXCtrlMan.h" CXCtrlMan ctrlman = m_Map.GetCtrlMan(); long drawType; ctrlman.GetDefaultDrawType(&drawType); CString msg; msg.Format(_T("Draw Type : %d"), drawType); AfxMessageBox(msg);
int ntype = 0; m_Map.GetCtrlMan().GetDefaultDrawType(ref ntype); MessageBox.Show("Draw Type : " + ntype.ToString());
Dim dtype As Long ctrlman.GetDefaultDrawType (dtype) MsgBox ("Draw Type : " + dtype)