Disabling controls on MFC

This is a discussion on Disabling controls on MFC within the C++ Programming forums, part of the General Programming Boards category; in my program that imworking onusing the MFC with C++, i have a problem. basically what my teacher wants is ...

Disabling controls on MFC

in my program that imworking onusing the MFC with C++, i have a problem. basically what my teacher wants is when you press a certain button, certain textfields should become disabled and you should not be allowed to enter anything in them, but i dont know what control to use for that. please help, thank you.