Introduction - If you have any usage issues, please Google them yourself
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
}
Packet : 29782189advancednumericeditcontrol.rar filelist
XRNumericEditCtrl_src.zip
XRNumericEditCtrl_demo.zip