Archived

This topic is now archived and is closed to further replies.

DisKordCoder

A Simple MFC Question

Recommended Posts

How can i disable buttons and check boxes in my window using MFC while the computer is busy processing. I know that u can disable the buttons as default while designing, but using the CButton Control, how can u disable and re-enable the buttons? Can anyone help, PLZ!!!! THANKS ALL!!!!!!

Share this post


Link to post
Share on other sites

CButton itself doesn''t have any methods that will allow you to enable/disable your control (window). However, notice that CButton is derived from CWnd. CWnd DOES have a method that performs this very function.

HTH,

-Z

Share this post


Link to post
Share on other sites