I\'m a new guy with ATL. So forgive me to ask this question.
Problem description: One CEdit control is added into a ATL dialog class. It\'s
CEdit
This has been tested with MFC & VS2015:
// // Get char string/CString from CEdit m_ceDate; // where // DDX_Control(pDX, IDC_EDIT_DATE, m_ceDate); char cdateBuf[128]; UINT nCountOfCharacters = GetDlgItemText(IDC_EDIT_DATE, cdateBuf, 16); CString csDate = cdateBuf;