一般使用acedGetXXX();来获得一个用户输入的值。
int nCountNode = 3;
int nReturn;
nReturn = acedGetInt(_T("请输入一个整数然后回车:"),&nCountNode);
if(nReturn == RTNORM)
{
CString str;
str.Format(_T("%d"),nCountNode);
AfxMessageBox(_T("你输入了:") + str);
}
int nReturn;
nReturn = acedGetInt(_T("请输入一个整数然后回车:"),&nCountNode);
if(nReturn == RTNORM)
{
CString str;
str.Format(_T("%d"),nCountNode);
AfxMessageBox(_T("你输入了:") + str);
}