Hi
I am relatively new to normal Windows Applicaitons in C++, I have gained a basic understanding of the interaction between forms and member varaibles and message maps. I have been able to set text to an text box control ok, but I am having trouble disabling a text box. Here is an exert of the code:
// m_TextEdit is a member variable of Class CEdit
// In the Menu Item in the OnClicked Event
// CInfoDlg is the Class for the Dialog
CInfoDlg Dlg;
Dlg.m_TextEdit.EnableWindow(FALSE):
if (Dlg.DoModal() == IDOK)
{
// Some Code follows here
}
When I do this the text box is still enabled. Any suggestions
Needaname16
