Hi
I'm trying to verify if a edit box has been populated with data by the user. Here is some code:
My problem is that no matter whether the box is empty or not, the message always gets displayed. Oh yeah and I do initialize m_sUser to " " before this function.Code:void CFtpDlg::OnFtp() { if(m_sUser == " ") { AfxMessageBox("please enter user name"); return; } //rest of code... }