Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Validating Edit Controls

, 21 Mar 2004 CPOL
CEdit-derived classes which validate the most popular types of data input.
validatingeditdemo.zip
res
ValidatingEditDemo.ico
temp
AMSEdit
Debug
res
AMSTest
Debug
res
ValidatingEditDemo.clw
ValidatingEditDemo.dsp
ValidatingEditDemo.dsw
ValidatingEditDemo.exe
validatingeditdemo1.zip
ValidatingEditDemo.ico
ValidatingEditDemo.clw
ValidatingEditDemo.dsp
ValidatingEditDemo.dsw
ValidatingEditDemo.exe
validatingeditdemo2.zip
ValidatingEditDemo.ico
ValidatingEditDemo.clw
ValidatingEditDemo.dsp
ValidatingEditDemo.dsw
ValidatingEditDemo.exe
validatingeditdemo3.zip
ValidatingEditDemo.ico
ValidatingEditDemo.clw
ValidatingEditDemo.dsp
ValidatingEditDemo.dsw
ValidatingEditDemo.exe
validatingeditsource.zip
validatingeditsource1.zip
validatingeditsource2.zip
validatingeditsource3.zip
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by ValidatingEditDemo.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_VALIDATINGEDITDEMO_DIALOG   102
#define IDR_MAINFRAME                   128
#define IDD_VALIDATING_EDIT_DEMO        136
#define IDD_VALIDATING_EDIT_DEMO1       137
#define IDC_CHECK_TIME_24HOUR_FORMAT    1000
#define IDC_CHECK_TIME_SHOW_SECONDS     1001
#define IDC_DATE_MAX                    1038
#define IDC_DATE_MIN                    1039
#define IDC_EDIT_ALPHANUMERIC_DATA_ENTRY 1040
#define IDC_EDIT_NUMERIC_DATA_ENTRY     1041
#define IDC_EDIT_MASKED_NUMERIC_MASK    1042
#define IDC_EDIT_ALPHANUMERIC_INVALID_CHARACTERS 1044
#define IDC_CHECK_NUMERIC_CANNOT_BE_NEGATIVE 1045
#define IDC_EDIT_MASKED_NUMERIC_DATA_ENTRY 1047
#define IDC_EDIT_CURRENCY_DATA_ENTRY    1051
#define IDC_EDIT_CURRENCY_AS_DOUBLE     1052
#define IDC_EDIT_DATE_DATA_ENTRY        1053
#define IDC_EDIT_TIME_DATA_ENTRY        1054
#define IDC_EDIT_NUMERIC_RIGHT_DIGITS   1055
#define IDC_SPIN_NUMERIC_RIGHT_DIGITS   1056
#define IDC_EDIT_ALPHANUMERIC_MAX_CHARACTERS 1057
#define IDC_SPIN_ALPHANUMERIC_MAX_CHARACTERS 1058
#define IDC_EDIT_NUMERIC_LEFT_DIGITS    1059
#define IDC_SPIN_NUMERIC_LEFT_DIGITS    1060
#define IDC_EDIT_NUMERIC_AS_DOUBLE      1061
#define IDC_STATIC_NUMERIC              1100
#define IDC_STATIC_CURRENCY             1101
#define IDC_STATIC_MASKED_NUMERIC       1102
#define IDC_STATIC_ALPHANUMERIC         1103
#define IDC_STATIC_DATE                 1104
#define IDC_STATIC_TIME                 1105

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        129
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1002
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Alvaro Mendez
Web Developer
United States United States
I've done extensive work with C++, MFC, COM, and ATL on the Windows side. On the Web side, I've worked with VB, ASP, JavaScript, and COM+. I've also been involved with server-side Java, which includes JSP, Servlets, and EJB, and more recently with ASP.NET/C#.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.1411023.1 | Last Updated 22 Mar 2004
Article Copyright 2001 by Alvaro Mendez
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid