Welcome![Sign In][Sign Up]
Location:
Search - ccheckablegroupb

Search list

[Button controlcheck控制gorup组框-说明

Description: 本程序介绍一个由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 frame 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
Platform: | Size: 563200 | Author: 张连成 | Hits:

CodeBus www.codebus.net