Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I disable Controls when I press a button? 1

Status
Not open for further replies.

zoomerx

Programmer
Jul 20, 2004
6
US
Hi all!
How do I disable Controls when I press a button?
I am makine a MFC Dialog Application and it has multiple controls on it. I was wondering how I could use a button to disable all the buttons, and progress bars. I also have 2 tabsets, I would like those to also be disabled when I push the button. When I click the button again I want the controls to be enabled.
Thanks In Advance!
 
I'm not sure if there is an option of calling a function that disables all the other controls on the page. What you might have to do is list each and individual componet and disable it yourself.

I know I am no help! :(
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top