Click here to Skip to main content
15,299,032 members
Articles / Programming Languages / C++


52 bookmarked

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
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.




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


About the Author

Hans Dietrich
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

Comments and Discussions