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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable a push button (Win32)

Status
Not open for further replies.

alarco

Programmer
Jul 7, 2004
7
CA
This is ridiculous! I spent about half an hour trying to find out how to disable a push button (Win32, not using MFC). Can someone help me with this huge programming challenge!!!
 
to disable it
EnableWindow(handle_of_button, FALSE);
to enable it
EnableWindow(handle_of_button, TRUE);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top