how to use DDV_MinMaxInt?
I'm doing a C++ MFC, I try to use DDV_MinMax but when I compile, I got the error message:
D:\codes\Dialog1\Dialog1Dlg.cpp(101) : error C2065: 'DDV_MinMax' : undeclared identifier
But I thought DDV_MinMax is a standard function? Can anyone help me out? THanks! Below is my code
Code:
void CDialog1Dlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDialog1Dlg)
DDX_Control(pDX, IDC_LIST_CTRL, m_cListCtrl);
DDX_Control(pDX, IDC_NAMELIST, m_NameList);
DDX_Text(pDX, IDC_FIRSTNAME, m_strFirstName);
DDX_Text(pDX, IDC_LASTNAME, m_strLastName);
DDX_CBIndex(pDX, IDC_TITLE, m_strTitle);
DDX_Text(pDX, IDC_nocluster, m_nocluster);
DDX_Control(pDX, IDC_CHARTCTRL, m_ChartCtrl);
//}}AFX_DATA_MAP
DDV_MinMax(pDX, m_strLastName, 0, 1);
}