Archived

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

A Simple MFC Question

This topic is 6078 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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