文件名称:EnableGroupboxControls_demo
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 34kb
- 下载次数:
- 0次
- 提 供 者:
- 毛*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
EnableGroupboxControls is a function I have used in several projects, where I wanted to enable/disable all the controls within a groupbox. There are several other solutions to this problem here on CodeProject - I have included a list here. None of these, however, had everything I was looking for: Able to be used in MFC or non-MFC project - since I spend a lot of time maintaining older Windows applications, I wanted a very lightweight solution.
Able to be used without instantiating class - this was important, because I necessarily have to minimize the impact on existing code.
Able to be used without recoding or redefining existing control variables - again, for same reasons as previous point.
Able to accommodate nested groupboxes - many of the dialogs in apps I maintain are non-trivial, because the apps themselves are highly technical. Nesting groupboxes is one way of coping with complex user interfaces.
-EnableGroupboxControls is a function I have used in several projects, where I wanted to enable/disable all the controls within a groupbox. There are several other solutions to this problem here on CodeProject- I have included a list here. None of these, however, had everything I was looking for: Able to be used in MFC or non-MFC project- since I spend a lot of time maintaining older Windows applications, I wanted a very lightweight solution.
Able to be used without instantiating class- this was important, because I necessarily have to minimize the impact on existing code.
Able to be used without recoding or redefining existing control variables- again, for same reasons as previous point.
Able to accommodate nested groupboxes- many of the dialogs in apps I maintain are non-trivial, because the apps themselves are highly technical. Nesting groupboxes is one way of coping with complex user interfaces.
Able to be used without instantiating class - this was important, because I necessarily have to minimize the impact on existing code.
Able to be used without recoding or redefining existing control variables - again, for same reasons as previous point.
Able to accommodate nested groupboxes - many of the dialogs in apps I maintain are non-trivial, because the apps themselves are highly technical. Nesting groupboxes is one way of coping with complex user interfaces.
-EnableGroupboxControls is a function I have used in several projects, where I wanted to enable/disable all the controls within a groupbox. There are several other solutions to this problem here on CodeProject- I have included a list here. None of these, however, had everything I was looking for: Able to be used in MFC or non-MFC project- since I spend a lot of time maintaining older Windows applications, I wanted a very lightweight solution.
Able to be used without instantiating class- this was important, because I necessarily have to minimize the impact on existing code.
Able to be used without recoding or redefining existing control variables- again, for same reasons as previous point.
Able to accommodate nested groupboxes- many of the dialogs in apps I maintain are non-trivial, because the apps themselves are highly technical. Nesting groupboxes is one way of coping with complex user interfaces.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
src
...\About.cpp
...\About.h
...\app.manifest
...\EnableGroupboxControls.cpp
...\EnableGroupboxControls.h
...\EnableGroupboxControlsTest.cpp
...\EnableGroupboxControlsTest.h
...\EnableGroupboxControlsTest.rc
...\EnableGroupboxControlsTestDlg.cpp
...\EnableGroupboxControlsTestDlg.h
...\hans.ico
...\resource.h
...\StdAfx.cpp
...\StdAfx.h
...\XHyperLink.cpp
...\XHyperLink.h
...\XTrace.h
vs2005
......\EnableGroupboxControlsTest.sln
......\EnableGroupboxControlsTest.vcproj
vs6
...\EnableGroupboxControlsTest.dsp
...\EnableGroupboxControlsTest.dsw
...\Release
...\About.cpp
...\About.h
...\app.manifest
...\EnableGroupboxControls.cpp
...\EnableGroupboxControls.h
...\EnableGroupboxControlsTest.cpp
...\EnableGroupboxControlsTest.h
...\EnableGroupboxControlsTest.rc
...\EnableGroupboxControlsTestDlg.cpp
...\EnableGroupboxControlsTestDlg.h
...\hans.ico
...\resource.h
...\StdAfx.cpp
...\StdAfx.h
...\XHyperLink.cpp
...\XHyperLink.h
...\XTrace.h
vs2005
......\EnableGroupboxControlsTest.sln
......\EnableGroupboxControlsTest.vcproj
vs6
...\EnableGroupboxControlsTest.dsp
...\EnableGroupboxControlsTest.dsw
...\Release