文件名称:AdvancedNumericEditControl
介绍说明--下载内容来自于网络,使用问题请自行百度
The CXrNumericEdit class is derived from the normal CEdit class.
To use this class
Add the CXrNumericEdit source file to project.
Add standard edit control
Change CEdit class to CXrNumericEdit
public:
//Dialog Data
//{{AFX_DATA(CNumericEditDlg)
enum { IDD = IDD_NUMERICEDIT_DIALOG }
CXrNumericEdit m_ctrlPositiveValue
To get and set the value in the CXrNumericEdit control use the DDX functions.
void CNumericEditDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX)
//{{AFX_DATA_MAP(CNumericEditDlg)
DDX_Text(pDX, IDC_POSITIVE_SAMPLE, m_dbPositiveValue)
...
//}}AFX_DATA_MAP
}
To use this class
Add the CXrNumericEdit source file to project.
Add standard edit control
Change CEdit class to CXrNumericEdit
public:
//Dialog Data
//{{AFX_DATA(CNumericEditDlg)
enum { IDD = IDD_NUMERICEDIT_DIALOG }
CXrNumericEdit m_ctrlPositiveValue
To get and set the value in the CXrNumericEdit control use the DDX functions.
void CNumericEditDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX)
//{{AFX_DATA_MAP(CNumericEditDlg)
DDX_Text(pDX, IDC_POSITIVE_SAMPLE, m_dbPositiveValue)
...
//}}AFX_DATA_MAP
}
(系统自动生成,下载前可以参看下载内容)
下载文件列表
XRNumericEditCtrl_src.zip
XRNumericEditCtrl_demo.zip
www.dssz.com.txt
XRNumericEditCtrl_demo.zip
www.dssz.com.txt
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。