文件名称:VC_6ActiveReadMe
介绍说明--下载内容均来自于网络,请自行研究使用
用VC就离不开使用系统控件,发一个综合介绍的说明。VC++_6常用控件使用方法介绍
摘要如下:
除非特别说明,本文中所用控件变量类型为Control
一般控件可用/不可用
EnableWindow(TRUE)
EnableWindow(FALSE)
1、Static Text------------静态控件 --类CStatic
取值/赋值(变量类型为Control)
m_lbl.GetWindowText(string)
m_lbl.SetWindowText(string)
2、Edit Box---------------编辑控件 --类CEdit
取值/赋值
m_txt.GetWindowText(string)
m_txt.SetWindowText(string)
3、Check Box------------复选控件 --类CButton
(1)设置选中/未选中
m_chk.SetCheck(BST_CHECKED)
m_chk.SetCheck(BST_UNCHECKED)
-Without using the system with the VC on the control, made a comprehensive descr iption of the instructions. Summarized as follows: Unless otherwise specified, this type of control variable used in the general controls for the Control available/unavailable EnableWindow (TRUE) EnableWindow (FALSE) 1, Static Text------------ Static Control-- class CStatic value/assignment (variable of type Control) m_lbl.GetWindowText (string) m_lbl.SetWindowText (string) 2, Edit Box--------------- edit control- Class CEdit value/assignment m_txt.GetWindowText (string) m_txt.SetWindowText (string) 3, Check Box------------ check control- class CButton (1) to set the selected/not selected m_chk.SetCheck (BST_CHECKED) m_chk.SetCheck (BST_UNCHECKED)
摘要如下:
除非特别说明,本文中所用控件变量类型为Control
一般控件可用/不可用
EnableWindow(TRUE)
EnableWindow(FALSE)
1、Static Text------------静态控件 --类CStatic
取值/赋值(变量类型为Control)
m_lbl.GetWindowText(string)
m_lbl.SetWindowText(string)
2、Edit Box---------------编辑控件 --类CEdit
取值/赋值
m_txt.GetWindowText(string)
m_txt.SetWindowText(string)
3、Check Box------------复选控件 --类CButton
(1)设置选中/未选中
m_chk.SetCheck(BST_CHECKED)
m_chk.SetCheck(BST_UNCHECKED)
-Without using the system with the VC on the control, made a comprehensive descr iption of the instructions. Summarized as follows: Unless otherwise specified, this type of control variable used in the general controls for the Control available/unavailable EnableWindow (TRUE) EnableWindow (FALSE) 1, Static Text------------ Static Control-- class CStatic value/assignment (variable of type Control) m_lbl.GetWindowText (string) m_lbl.SetWindowText (string) 2, Edit Box--------------- edit control- Class CEdit value/assignment m_txt.GetWindowText (string) m_txt.SetWindowText (string) 3, Check Box------------ check control- class CButton (1) to set the selected/not selected m_chk.SetCheck (BST_CHECKED) m_chk.SetCheck (BST_UNCHECKED)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
VC++_6常用控件使用方法介绍.doc