|
-
Jan 24th, 2002, 02:29 AM
#1
Very Simple Question!!!
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|