How to get text from CEdit control
问题 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 attached in the dialog initialize function. //Define the edit control ATLControls::CEdit m_txtInput; //In the OnInitDialog function m_txtInput.Attach(GetDlgItem(IDC_INPUT_LINE)); m_txtInput.SetWindowText(_T("New directory")); //In the public memeber function of the dialog GetInput() //I have tried three kinds of method to get the text. But all of them are