Click here to Skip to main content
15,881,742 members
Articles / Programming Languages / C++

EnableGroupboxControls - a non-MFC function to enable or disable all the controls within a groupbox

Rate me:
Please Sign up or sign in to vote.
3.65/5 (9 votes)
9 Apr 2008CPOL4 min read 81.5K   1.2K   52  
EnableGroupboxControls is a function that enables or disables all the controls within a groupbox based solely upon the window rect of the controls. A simple approach to implementing a groupbox checkbox is also explained.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Hans Dietrich Software
United States United States
I attended St. Michael's College of the University of Toronto, with the intention of becoming a priest. A friend in the University's Computer Science Department got me interested in programming, and I have been hooked ever since.

Recently, I have moved to Los Angeles where I am doing consulting and development work.

For consulting and custom software development, please see www.hdsoft.org.






Comments and Discussions