文件名称:check控制gorup组框-说明
- 所属分类:
- 按钮控件
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 550kb
- 下载次数:
- 0次
- 提 供 者:
- 张**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本程序介绍一个由check组框来控制内部控件使能 在要使用的工程中添加类CCheckableGroupBox 在资源中属于这个组框的控件设置group项目 在使用的类中 坐组框的变量映射 CCheckableGroupBox m_groupD CCheckableGroupBox m_groupQ CCheckableGroupBox m_groupZ 在使用类的初始化中 m_groupZ.SetTitleStyle(BS_AUTOCHECKBOX) //Default to check box already in class m_groupZ.SetGroupID(1) m_groupQ.SetTitleStyle(BS_AUTORADIOBUTTON) m_groupQ.SetGroupID(0) m_groupQ.SetCheck(1) m_groupD.SetTitleStyle(BS_AUTORADIOBUTTON) m_groupD.SetGroupID(0) SetTitleStyle:函数中1BS_AUTOCHECKBOX:为方型框.2BS_AUTORADIOBUTTON:为原型框 SetGroupID函数:参数中为1:不用内部控件不用选择group项目,为0要选择 Setcheck函数:参数为1:enabel,为0:unenable-the procedures introduced by a group check box to control internal controls so as to enable the project to use the added category CCheckableGroupBox resources belonging to the group box set of controls group projects in the category sitting Group variable fr a me mapping CCheckableGroupBox m_groupD CCheckableGroupBox m_groupQ CCheckableGroupBox m_groupZ the use of the initial category m_groupZ.SetTitleStyle of China (BS_AUTOCHECKBOX)// Default box to check m_groupZ.SetGroupID already in class (1) m_groupQ.SetTitleStyle (BS_AUTORADIOBUTTON) m_groupQ.SetGroupID (0) m_groupQ. SetCheck (1) m_groupD.SetTitleStyle (BS_AUTORADIOBUTTON) m_groupD.SetGroupID (0) SetTitleStyle : 1BS_AUTOCHECKBOX function : a square box .2 BS_AUTORADIOBUTTON : prototype box SetGroupID function : as a parameter : I do
(系统自动生成,下载前可以参看下载内容)
下载文件列表
check控制gorup组框-说明
.......................\CheckableGroupBox.cpp
.......................\CheckableGroupBox.h
.......................\CheckableGroupboxDemo.aps
.......................\CheckableGroupboxDemo.cpp
.......................\CheckableGroupboxDemo.dsp
.......................\CheckableGroupboxDemo.dsw
.......................\CheckableGroupboxDemo.h
.......................\CheckableGroupboxDemo.ncb
.......................\CheckableGroupboxDemo.opt
.......................\CheckableGroupboxDemo.rc
.......................\CheckableGroupboxDemoDlg.cpp
.......................\CheckableGroupboxDemoDlg.h
.......................\Debug
.......................\ReadMe.txt
.......................\res
.......................\...\CheckableGroupboxDemo.rc2
.......................\...\CVS
.......................\...\...\Entries
.......................\...\...\Repository
.......................\...\...\Root
.......................\resource.h
.......................\StdAfx.cpp
.......................\StdAfx.h
.......................\说明文档.txt
.......................\CheckableGroupBox.cpp
.......................\CheckableGroupBox.h
.......................\CheckableGroupboxDemo.aps
.......................\CheckableGroupboxDemo.cpp
.......................\CheckableGroupboxDemo.dsp
.......................\CheckableGroupboxDemo.dsw
.......................\CheckableGroupboxDemo.h
.......................\CheckableGroupboxDemo.ncb
.......................\CheckableGroupboxDemo.opt
.......................\CheckableGroupboxDemo.rc
.......................\CheckableGroupboxDemoDlg.cpp
.......................\CheckableGroupboxDemoDlg.h
.......................\Debug
.......................\ReadMe.txt
.......................\res
.......................\...\CheckableGroupboxDemo.rc2
.......................\...\CVS
.......................\...\...\Entries
.......................\...\...\Repository
.......................\...\...\Root
.......................\resource.h
.......................\StdAfx.cpp
.......................\StdAfx.h
.......................\说明文档.txt