Click here to Skip to main content
15,896,489 members
Articles / Desktop Programming / ATL

SP Numeric Edit Control

Rate me:
Please Sign up or sign in to vote.
4.78/5 (11 votes)
16 Nov 200511 min read 75K   3.6K   36  
Masked numeric edit ActiveX control.
// Microsoft Visual C++ generated resource script.
//
#include "spDataFormatterResIDs.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE 
BEGIN
    "spDataFormatterResIDs.h\0"
END

2 TEXTINCLUDE 
BEGIN
    "#include ""afxres.h""\r\n"
    "\0"
END

3 TEXTINCLUDE 
BEGIN
    "\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE 
BEGIN
    SPDF_IDS_ERS_FORMATTER  "SP Conversion library"
END

STRINGTABLE 
BEGIN
    SPDF_IDS_ERD_CREATE     "Failed to create formatter."
END

STRINGTABLE 
BEGIN
    SPDF_IDS_ERD_INVALIDPROPVALUE "Invalid property value"
    SPDF_IDS_ERD_NOEMPTYSTRING "Empty string is not allowed."
    SPDF_IDS_ERD_VALUE_0_1  "Property value should be  0 or 1."
    SPDF_IDS_ERD_VALUE_0_4  "Property value should be in range 0..4."
    SPDF_IDS_ERD_VALUE_0_15 "Property value should be in range 0..15."
    SPDF_IDS_ERD_VALUE_8or10or15 "Property value should be 8, 10 or 15."
    SPDF_IDS_ERD_CONVSTRTONUMBER "Could not convert property value to number."
    SPDF_IDS_ERD_NOGROUPSIZE 
                            "Grouping expression is incorect. Size of one ore more groups was not defined. No grouping can be specified as ""0;0"" or ""0;"""
    SPDF_IDS_ERD_INCORRECTGROUPSIZE 
                            "Grouping expression is incorect. Goupe size must be number from 0 to 255."
    SPDF_IDS_ERD_INCORRECTLASTGROUP 
                            "Grouping expression is incorrect. Size of every group must be terminated with semicolon. Zero in the end without semicolon specifies that last group will be repeated."
END

STRINGTABLE 
BEGIN
    SPDF_IDS_ERD_DEFINEGROUPING "Failed defining grouping patterns."
    SPDF_IDS_ERD_NUMBERBOUNDARIES 
                            "If boundaries of number part (""|"") are used, they must be present in two places: in the beginning and in the end of a number part."
END

STRINGTABLE 
BEGIN
    SPDF_IDS_ERD_SETMASK    "Failed to set formatter mask."
    SPDF_IDS_ERD_TOOMANYPATTERNSINMASK "Too many patterns in the mask."
    SPDF_IDS_ERD_NESTEDATTRIBUTES 
                            "Attributes section cannot be placed inside pattern definition or another attributes section."
    SPDF_IDS_ERD_ONLYONEATTRIBUTESECTION 
                            "The only one attribute section is allowed for single pattern."
    SPDF_IDS_ERD_ATTRIBUTESECTIONBEFORE 
                            "Attribute section must precede pattern definition."
    SPDF_IDS_ERD_UNEXPECTEDATTRIBUTESECTIONEND 
                            "Unexpected end of attribute section."
    SPDF_IDS_ERD_MISSINGESCSYMBOL "Escape symbol is missing."
    SPDF_IDS_ERD_UNEXPECTEDREPEATEND "Unexpected end of repeat clause."
    SPDF_IDS_ERD_UNEXPECTEDOPTIONEND "Unexpected end of optinal clause."
END

STRINGTABLE 
BEGIN
    SPDF_IDS_ERD_GENERATEPREFIXSEGMENT 
                            "Failed generating prefix segment expression."
    SPDF_IDS_ERD_COMPOSESUFFIXSEGMENT 
                            "Failed composing suffix segment expression."
    SPDF_IDS_ERD_TRANSLATESUFFIXSEGMENT 
                            "Failed translating suffix segment expression."
    SPDF_IDS_ERD_GENERATESUFFIXSEGMENT 
                            "Failed generating suffix segment expression."
    SPDF_IDS_ERD_COMPOSEMANTISSASEGMENT 
                            "Failed composing mantissa segments expression."
    SPDF_IDS_ERD_TRANSLATEMANTISSASEGMENT 
                            "Failed translating mantissa segments expression."
    SPDF_IDS_ERD_GENERATEMANTISSASEGMENT 
                            "Failed generationg mantissa segments expression."
    SPDF_IDS_ERD_COMPOSEINTSEGMENT 
                            "Failed composing integer segment expression."
    SPDF_IDS_ERD_TRANSLATEINTSEGMENT 
                            "Failed translating integer segment expression."
    SPDF_IDS_ERD_GENERATEINTSEGMENT 
                            "Failed generating integer segment expression."
    SPDF_IDS_ERD_COMPOSEFRACSEGMENT 
                            "Failed composing fraction segment expression."
    SPDF_IDS_ERD_TRANSLATEFRACSEGMENT 
                            "Failed translating fraction segment expression."
END

STRINGTABLE 
BEGIN
    SPDF_IDS_ERD_GENERATEFRACSEGMENT 
                            "Failed generating fraction segment expression."
    SPDF_IDS_ERD_COMPOSEEXPSEGMENT 
                            "Failed composing exponent segment expression."
    SPDF_IDS_ERD_TRANSLATEEXPSEGMENT 
                            "Failed translating exponent segment expression."
    SPDF_IDS_ERD_GENERATEEXPSEGMENT 
                            "Failed generating exponent segment expression."
    SPDF_IDS_ERD_COMPOSETOKEN "Failed composing pattern token."
    SPDF_IDS_ERD_TRANSLATETOKEN "Failed translating pattern token."
    SPDF_IDS_ERD_GENERATETOKEN "Failed generating pattern token."
END

STRINGTABLE 
BEGIN
    SPDF_IDS_ERD_COMPOSESEGMENT "Failed composing segment expression."
    SPDF_IDS_ERD_TRANSLATESEGMENT "Failed translating segment expression."
    SPDF_IDS_ERD_GENERATESEGMENT "Failed generating segment expression."
    SPDF_IDS_ERD_COMPOSEPREFIXSEGMENT 
                            "Failed composing prefix segment expression."
    SPDF_IDS_ERD_TRANSLATEPREFIXSEGMENT 
                            "Failed translating prefix segment expression."
END

STRINGTABLE 
BEGIN
    SPDF_IDS_ERD_GENERATENEGINFINITYPATTERN 
                            "Failed generating negative infinity pattern."
    SPDF_IDS_ERD_PARSENEGINFINITYPATTERN 
                            "Failed parsing negative infinity pattern."
    SPDF_IDS_ERD_TRANSLATENEGINFINITYPATTERN 
                            "Failed translating negative infinity pattern."
    SPDF_IDS_ERD_COMPOSENANPATTERN "Failed composing NaN pattern."
    SPDF_IDS_ERD_GENERATENANPATTERN "Failed generating NaN pattern."
    SPDF_IDS_ERD_PARSEENANPATTERN "Failed parsing NaN pattern expression."
    SPDF_IDS_ERD_TRANSLATENANPATTERN 
                            "Failed translating NaN pattern expression."
    SPDF_IDS_ERD_COMPOSEQNANPATTERN "Failed composing Quiet NaN pattern."
    SPDF_IDS_ERD_GENERATEQNANPATTERN "Failed generating Quiet NaN pattern."
    SPDF_IDS_ERD_PARSEQNANPATTERN 
                            "Failed parsing Quiet NaN pattern expression."
    SPDF_IDS_ERD_TRANSLATEQNANPATTERN 
                            "Failed translating Quiet NaN pattern expression."
    SPDF_IDS_ERD_COMPOSESNANPATTERN "Failed composing Signaling NaN pattern."
    SPDF_IDS_ERD_GENERATESNANPATTERN 
                            "Failed generating Signaling NaN pattern."
END

STRINGTABLE 
BEGIN
    SPDF_IDS_ERD_PARSESNANPATTERN 
                            "Failed parsing Signaling NaN pattern expression."
    SPDF_IDS_ERD_TRANSLATESNANPATTERN 
                            "Failed translating Signaling NaN pattern expression."
    SPDF_IDS_ERD_COMPOSENULLPATTERN "Failed composing null pattern."
    SPDF_IDS_ERD_GENERATENULLPATTERN "Failed generating null pattern."
    SPDF_IDS_ERD_PARSENULLPATTERN "Failed parsing null pattern expression."
    SPDF_IDS_ERD_TRANSLATENULLPATTERN 
                            "Failed translating null pattern expression."
END

STRINGTABLE 
BEGIN
    SPDF_IDS_ERD_COMPOSENEGZEROPATTERN 
                            "Failed composing negative zero pattern."
    SPDF_IDS_ERD_GENERATENEGZEROPATTERN 
                            "Failed generating negative zero pattern."
    SPDF_IDS_ERD_PARSENEGZEROPATTERN "Failed parsing negative zero pattern."
    SPDF_IDS_ERD_TRANSLATENEGZEROPATTERN 
                            "Failed translating negative zero pattern."
    SPDF_IDS_ERD_COMPOSEPOSINFINITYPATTERN 
                            "Failed composing positive infinity pattern."
    SPDF_IDS_ERD_GENERATEPOSINFINITYPATTERN 
                            "Failed generating positive infinity pattern."
    SPDF_IDS_ERD_PARSEPOSINFINITYPATTERN 
                            "Failed parsing positive infinity pattern."
    SPDF_IDS_ERD_TRANSLATEPOSINFINITYPATTERN 
                            "Failed translating positive infinity pattern."
    SPDF_IDS_ERD_COMPOSENEGINFINITYPATTERN 
                            "Failed composing negative infinity pattern."
END

STRINGTABLE 
BEGIN
    SPDF_IDS_ERD_COMPOSENEGVALUEPATTERN 
                            "Failed composing negative value pattern."
    SPDF_IDS_ERD_GENERATENEGVALUEPATTERN 
                            "Failed generating negative value pattern."
    SPDF_IDS_ERD_PARSENEGVALUEPATTERN "Failed parsing negative value pattern."
    SPDF_IDS_ERD_TRANSLATENEGVALUEPATTERN 
                            "Failed translating negative value pattern."
    SPDF_IDS_ERD_COMPOSEZEROPATTERN "Failed composing zero pattern."
    SPDF_IDS_ERD_GENERATEZEROPATTERN "Failed generating zero pattern."
    SPDF_IDS_ERD_PARSEZEROPATTERN "Failed parsing zero pattern."
    SPDF_IDS_ERD_TRANSLATEZEROPATTERN "Failed translating zero pattern."
    SPDF_IDS_ERD_COMPOSEPOSZEROPATTERN 
                            "Failed composing positive zero pattern."
    SPDF_IDS_ERD_GENERATEPOSZEROPATTERN 
                            "Failed generating positive zero pattern."
    SPDF_IDS_ERD_PARSEPOSZEROPATTERN "Failed parsing positive zero pattern."
    SPDF_IDS_ERD_TRANSLATEPOSZEROPATTERN 
                            "Failed translating positive zero pattern."
END

STRINGTABLE 
BEGIN
    SPDF_IDS_ERD_COMPOSEVALUEPATTERN "Failed composing value pattern."
    SPDF_IDS_ERD_GENERATEVALUEPATTERN "Failed generating value pattern."
    SPDF_IDS_ERD_PARSEVALUEPATTERN "Failed parsing value pattern."
    SPDF_IDS_ERD_TRANSLATEVALUEPATTERN "Failed translating value pattern."
    SPDF_IDS_ERD_COMPOSEPOSVALUEPATTERN 
                            "Failed composing positive value pattern."
    SPDF_IDS_ERD_GENERATEPOSVALUEPATTERN 
                            "Failed generating positive value pattern."
    SPDF_IDS_ERD_PARSEPOSVALUEPATTERN "Failed parsing positive value pattern."
    SPDF_IDS_ERD_TRANSLATEPOSVALUEPATTERN 
                            "Failed translating positive value pattern."
END

STRINGTABLE 
BEGIN
    SPDF_IDS_ERD_COMPOSEPATTERN "Failed composing system pattern."
    SPDF_IDS_ERD_GENERATEPATTERN "Failed generating pattern."
END

STRINGTABLE 
BEGIN
    SPDF_IDS_ERD_PARSEPATTERN "Failed parsing pattern expression."
    SPDF_IDS_ERD_TRANSLATEPATTERN "Failed translating pattern."
END

STRINGTABLE 
BEGIN
    SPDF_IDS_ERD_UNCLOSEDCLAUSE 
                            "One or more repeat or optional clauses are not closed."
    SPDF_IDS_ERD_PARSEFLTPATTERN "Failed parsing float pattern expression."
    SPDF_IDS_ERD_UNEXPECTEDECIMALSEPARATOR "Unexpected decimal separator."
    SPDF_IDS_ERD_PARSEEXPPATTERN "Failed parsing exponet pattern expression."
    SPDF_IDS_ERD_UNEXPECTEDEXPONENTSEPARATOR "Unexpected exponent separator."
    SPDF_IDS_ERD_OPTIONALPATTERN 
                            "When segment included in optional block all its elements must be located in that block."
END

#endif    // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Ukraine Ukraine
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions