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

Visual Calc v3.0 - A new dimension for the desktop calculator

, 28 Apr 2006 CPOL
How to start programming a parser.
visualcalc224_bin_20060206.zip
Visual Calc.exe
visualcalc224_lib_20060206.zip
mfc42.dll
msvcrt.dll
msvcp60.dll
visualcalc224_src_20060206.zip
res
About.ico
AboutFrame.bmp
CodeProject.ico
Doxygen.ico
function.ico
Help.ico
ico00001.ico
operator.ico
switch.ico
Visual Calc.ico
visualst.ico
WinXP.ico
Visual Calc.dsw
Visual Calc.dsp
visualcalc300_bin_20060418.zip
VisualCalc.exe
VCalcParser.dll
visualcalc300_lib_20060418.zip
msvcrt.dll
msvcp71.dll
msvcr71.dll
MFC71.dll
visualcalc300_parser-doc_20060418.zip
html
class_c_answer_requested_not_found_exception.png
class_c_closing_parenthesis_expected_exception.png
class_c_constant_assignation_exception.png
class_c_division_by_zero_exception.png
class_c_domain_exception.png
class_c_dom_parameters_must_be_integers_exception.png
class_c_dom_parameters_must_be_positive_exception.png
class_c_dom_parameter_must_be_an_integer_exception.png
class_c_dom_parameter_must_be_positive_exception.png
class_c_factorial_def_for_positive_ints_exception.png
class_c_function_exception.png
class_c_function_not_supported_exception.png
class_c_illegal_use_of_fonction_name_exception.png
class_c_implicit_multiplication_exception.png
class_c_literal_assignation_exception.png
class_c_mathematic_exception.png
class_c_mathematic_expression_expected_exception.png
class_c_math_parameter_must_be_an_integer_exception.png
class_c_math_parameter_must_be_positive_exception.png
class_c_n_must_be_positive_exception.png
class_c_parameter_exception.png
class_c_parameter_out_of_range_exception.png
class_c_parser_exception.png
class_c_period_unexpected_exception.png
class_c_p_must_be_positive_exception.png
class_c_p_must_be_smaller_than_n_exception.png
class_c_syntax_exception.png
class_c_too_few_parameters_exception.png
class_c_too_many_parameters_exception.png
class_c_undefined_variable_exception.png
class_c_unexpected_character_exception.png
class_c_unknown_exception.png
class_c_unknown_function_called_exception.png
class_c_variable_exception.png
class_c_v_calc_parser_exception.png
Copie de form_0.png
Copie de form_1.png
Copie de form_10.png
Copie de form_11.png
Copie de form_12.png
Copie de form_2.png
Copie de form_6.png
Copie de form_7.png
Copie de form_8.png
Copie de form_9.png
doxygen.png
form_0.png
form_1.png
form_10.png
form_11.png
form_12.png
form_2.png
form_3.png
form_4.png
form_5.png
form_6.png
form_7.png
form_8.png
form_9.png
tab_b.gif
tab_l.gif
tab_r.gif
_formulas.tex
visualcalc300_parser-src_20060418.zip
VCalcParser.lib
visualcalc300_src_20060418.zip
bin
lib
VCalcParser
doc
Doxygen.cfg
VisualCalc
res
About.ico
AboutFrame.bmp
CodeProject.ico
Doxygen.ico
errcodes.ico
function.ico
Help.ico
operator.ico
switch.ico
VisualCalc.ico
VisualCalc.manifest
visualst.ico
WinXP.ico
VCalcParser.lib
visualcalcparser250_doc_20060206.zip
doc
Doxygen.cfg
html
class_c_answer_requested_not_found_exception.png
class_c_closing_parenthesis_expected_exception.png
class_c_constant_assignation_exception.png
class_c_division_by_zero_exception.png
class_c_domain_exception.png
class_c_dom_parameters_must_be_integers_exception.png
class_c_dom_parameters_must_be_positive_exception.png
class_c_dom_parameter_must_be_an_integer_exception.png
class_c_dom_parameter_must_be_positive_exception.png
class_c_factorial_def_for_positive_ints_exception.png
class_c_function_exception.png
class_c_function_not_supported_exception.png
class_c_illegal_use_of_fonction_name_exception.png
class_c_implicit_multiplication_exception.png
class_c_literal_assignation_exception.png
class_c_mathematic_exception.png
class_c_mathematic_expression_expected_exception.png
class_c_math_parameter_must_be_an_integer_exception.png
class_c_math_parameter_must_be_positive_exception.png
class_c_n_must_be_positive_exception.png
class_c_parameter_exception.png
class_c_parameter_out_of_range_exception.png
class_c_parser_exception.png
class_c_period_unexpected_exception.png
class_c_p_must_be_positive_exception.png
class_c_p_must_be_smaller_than_n_exception.png
class_c_syntax_exception.png
class_c_too_few_parameters_exception.png
class_c_too_many_parameters_exception.png
class_c_undefined_variable_exception.png
class_c_unexpected_character_exception.png
class_c_unknown_exception.png
class_c_unknown_function_called_exception.png
class_c_variable_exception.png
class_c_v_calc_parser_exception.png
Copie de form_0.png
Copie de form_1.png
Copie de form_10.png
Copie de form_11.png
Copie de form_12.png
Copie de form_2.png
Copie de form_6.png
Copie de form_7.png
Copie de form_8.png
Copie de form_9.png
doxygen.png
form_0.png
form_1.png
form_10.png
form_11.png
form_12.png
form_2.png
form_3.png
form_4.png
form_5.png
form_6.png
form_7.png
form_8.png
form_9.png
tab_b.gif
tab_l.gif
tab_r.gif
_formulas.tex
visualcalcparser250_src_20060206.zip
visualcalc_demo.zip
Visual Calc.exe
visualcalc_libs.zip
msvcp60.dll
mfc42.dll
msvcrt.dll
visualcalc_parser.zip
visualcalc_src.zip
About.ico
AboutFrame.bmp
CodeProject.ico
function.ico
Help.ico
ico00001.ico
operator.ico
switch.ico
Visual Calc.ico
visualst.ico
WinXP.ico
Visual Calc.dsp
Visual Calc.dsw
//Microsoft Developer Studio generated resource script.
//
#include "resource.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

#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 2,24,1,1
 PRODUCTVERSION 2,24,1,1
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x1L
#else
 FILEFLAGS 0x0L
#endif
 FILEOS 0x4L
 FILETYPE 0x1L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904b0"
        BEGIN
            VALUE "Comments", "MFC Application\0"
            VALUE "CompanyName", "The CodeProject\0"
            VALUE "FileDescription", "A new dimension to the desktop calculator\0"
            VALUE "FileVersion", "2, 24, 1, 1\0"
            VALUE "InternalName", "VisualCalc\0"
            VALUE "LegalCopyright", "� 2004-2006 toxcct\0"
            VALUE "LegalTrademarks", "\0"
            VALUE "OriginalFilename", "VisualCalc.exe\0"
            VALUE "PrivateBuild", "\0"
            VALUE "ProductName", "VisualCalc\0"
            VALUE "ProductVersion", "2, 24, 1, 1\0"
            VALUE "SpecialBuild", "\0"
        END
        BLOCK "040c04b0"
        BEGIN
            VALUE "Comments", "Application MFC\0"
            VALUE "CompanyName", "The CodeProject\0"
            VALUE "FileDescription", "Une nouvelle dimension � la calculatrice de bureau\0"
            VALUE "FileVersion", "2, 24, 1, 1\0"
            VALUE "InternalName", "VisualCalc\0"
            VALUE "LegalCopyright", "� 2004-2006 toxcct\0"
            VALUE "LegalTrademarks", "\0"
            VALUE "OriginalFilename", "VisualCalc.exe\0"
            VALUE "PrivateBuild", "\0"
            VALUE "ProductName", "VisualCalc\0"
            VALUE "ProductVersion", "2, 24, 1, 1\0"
            VALUE "SpecialBuild", "\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200, 0x40c, 1200
    END
END

#endif    // !_MAC


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

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_HELPBOX             "Open the Help dialog..."
    IDS_ABOUTBOX            "About VisualCalc v%s..."
    IDS_VISUALCALC          "VisualCalc"
    IDS_ANSWERS_STC         "Last answers :"
    IDS_VARIABLES_STC       "Variables set :"
    IDS_FUNCTIONS_STC       "Functions :"
    IDS_HOWTOQUIT_STC       "Push [Esc] or click the [x] button to quit..."
    IDS_ERASE_BTN           "Erase"
    IDS_CALCULATE_BTN       "Calculate"
    IDS_ABOUT_BTN           "&About"
    IDS_HELP_BTN            "&Help"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_ABOUT_GUIVERSION    "VisualCalc version %s"
    IDS_ABOUT_PARSERVERSION "using Parser v%s"
    IDS_ABOUT_COPYRIGHT     "Copyright (C) 2004-2006 toxcct"
    IDS_ABOUT_CODEPROJECT   "for CodeProject.com"
    IDS_ABOUT_DOXYGEN       "commented for Doxygen (www.doxygen.org)"
    IDS_ABOUT_CLOSECLICK    "- Right-Click to close the Dialog Box -"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_HELP_FCTS_AVAILABLE "Functions available"
    IDS_HELP_FCTS_NAMES     "Names"
    IDS_HELP_FCTS_USES      "Uses"
    IDS_HELP_FCTS_DEF_ABS   "Absolute value : "
    IDS_HELP_FCTS_DEF_ACOS  "Arccosine : "
    IDS_HELP_FCTS_DEF_ANS   "Answers history : "
    IDS_HELP_FCTS_DEF_ASIN  "Arcsine : "
    IDS_HELP_FCTS_DEF_ATAN  "Arctangent : "
    IDS_HELP_FCTS_DEF_COS   "Cosine : "
    IDS_HELP_FCTS_DEF_COSH  "Hyperbolic cosine : "
    IDS_HELP_FCTS_DEF_DEG   "Radians to degrees : "
    IDS_HELP_FCTS_DEF_EXP   "Exponential : "
    IDS_HELP_FCTS_DEF_LN    "Natural logarithm : "
    IDS_HELP_FCTS_DEF_LOG   "Base-10 logarithm : "
    IDS_HELP_FCTS_DEF_LOGN  "Base-n logarithm : "
    IDS_HELP_FCTS_DEF_NAP   "Arrangements : "
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_HELP_FCTS_DEF_NCP   "Combinations : "
    IDS_HELP_FCTS_DEF_PRODUCT "Product : "
    IDS_HELP_FCTS_DEF_RAD   "Degrees to radians : "
    IDS_HELP_FCTS_DEF_SIN   "Sine : "
    IDS_HELP_FCTS_DEF_SINH  "Hyperbolic sine : "
    IDS_HELP_FCTS_DEF_SQRT  "Sqared root : "
    IDS_HELP_FCTS_DEF_SQRTN "N-order root : "
    IDS_HELP_FCTS_DEF_SUM   "Sum : "
    IDS_HELP_FCTS_DEF_TAN   "Tangent : "
    IDS_HELP_FCTS_DEF_TANH  "Hyperbolic tangent : "
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_HELP_FCTS_USE_ABS   "abs(x)"
    IDS_HELP_FCTS_USE_ACOS  "Acos(x)"
    IDS_HELP_FCTS_USE_ANS   "Ans(x)"
    IDS_HELP_FCTS_USE_ASIN  "Asin(x)"
    IDS_HELP_FCTS_USE_ATAN  "Atan(x)"
    IDS_HELP_FCTS_USE_COS   "cos(x)"
    IDS_HELP_FCTS_USE_COSH  "cosh(x)"
    IDS_HELP_FCTS_USE_DEG   "deg(x)"
    IDS_HELP_FCTS_USE_EXP   "exp(x)"
    IDS_HELP_FCTS_USE_LN    "ln(x)"
    IDS_HELP_FCTS_USE_LOG   "log(x)"
    IDS_HELP_FCTS_USE_LOGN  "logn(x, n)"
    IDS_HELP_FCTS_USE_NAP   "nAp(n, p)"
    IDS_HELP_FCTS_USE_NCP   "nCp(n, p)"
    IDS_HELP_FCTS_USE_PRODUCT "product(expr(x), x, low, high)"
    IDS_HELP_FCTS_USE_RAD   "rad(x)"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_HELP_FCTS_USE_SIN   "sin(x)"
    IDS_HELP_FCTS_USE_SINH  "sinh(x)"
    IDS_HELP_FCTS_USE_SQRT  "sqrt(x)"
    IDS_HELP_FCTS_USE_SQRTN "sqrtn(x, n)"
    IDS_HELP_FCTS_USE_SUM   "sum(expr(x), x, low, high)"
    IDS_HELP_FCTS_USE_TAN   "tan(x)"
    IDS_HELP_FCTS_USE_TANH  "tanh(x)"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_HELP_OPERS_AVAILABLE "Operators available"
    IDS_HELP_OPERS_USES     "Uses"
    IDS_HELP_OPERS_DEF_ADDITION "Addition : "
    IDS_HELP_OPERS_DEF_SUBTRACTION "Subtraction : "
    IDS_HELP_OPERS_DEF_MULTIPLICATION "Multiplication : "
    IDS_HELP_OPERS_DEF_DIVISION "Division : "
    IDS_HELP_OPERS_DEF_POWER "Power : "
    IDS_HELP_OPERS_DEF_MODULUS "Modulus : "
    IDS_HELP_OPERS_DEF_PARENTHESIS "Parenthesis : "
    IDS_HELP_OPERS_DEF_UNARYPLUS "Unary plus : "
    IDS_HELP_OPERS_DEF_UNARYMINUS "Unary minus : "
    IDS_HELP_OPERS_DEF_ASSIGNEMENT "Assignement : "
    IDS_HELP_OPERS_DEF_FACTORIAL "Factorial : "
    IDS_HELP_OPERS_DEF_DEGTORAD "Degrees to radians : "
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_HELP_ERRORS_CODES   "Error code"
    IDS_HELP_ERRORS_DESCRIPTIONS "Description"
    IDS_HELP_ERRORS_SYNTAX  "Syntax exceptions :"
    IDS_HELP_ERRORS_MATHEMATIC "Mathematic exceptions :"
    IDS_HELP_ERRORS_FUNCTIONS "Functions exceptions :"
    IDS_HELP_ERRORS_PARAMETERS "Parameters exceptions :"
    IDS_HELP_ERRORS_VARIABLES "Variables exceptions :"
    IDS_HELP_ERRORS_DOMAIN  "Domain exceptions :"
    IDS_HELP_ERRORS_PARSER  "Parser exceptions :"
    IDS_HELP_ERRORS_1001    "Unexpected character"
    IDS_HELP_ERRORS_1002    "Period character unexpected ('.')"
    IDS_HELP_ERRORS_1003    "')' expected"
    IDS_HELP_ERRORS_1004    "Mathematic expression expected"
    IDS_HELP_ERRORS_2001    "Division by 0"
    IDS_HELP_ERRORS_2002    "'n' must be positive"
    IDS_HELP_ERRORS_2003    "'p' must be positive"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_HELP_ERRORS_2004    "'p' must be smaller than 'n'"
    IDS_HELP_ERRORS_2005    "A factorial is defined for positive integers"
    IDS_HELP_ERRORS_2006    "Parameter out of range"
    IDS_HELP_ERRORS_2007    "Parameter must be positive"
    IDS_HELP_ERRORS_2008    "Parameter must be an integer"
    IDS_HELP_ERRORS_3001    "Unknown function called"
    IDS_HELP_ERRORS_3002    "Implicit multiplication not supported"
    IDS_HELP_ERRORS_3003    "Illegal use of function name"
    IDS_HELP_ERRORS_4001    "Too few parameters. ',' expected"
    IDS_HELP_ERRORS_4002    "Too many parameters. ')' expected"
    IDS_HELP_ERRORS_5001    "Cannot assign a constant"
    IDS_HELP_ERRORS_5002    "Cannot assign a literal"
    IDS_HELP_ERRORS_5003    "Undefined variable"
    IDS_HELP_ERRORS_6001    "The answer requested was not found"
    IDS_HELP_ERRORS_6002    "Parameter must be positive"
    IDS_HELP_ERRORS_6003    "Parameter must be an integer"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_HELP_ERRORS_6004    "Parameters must be positive"
    IDS_HELP_ERRORS_6005    "Parameters must be integers"
    IDS_HELP_ERRORS_9001    "Warning : function not supported yet"
    IDS_HELP_ERRORS_9009    "Unknown exception"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_HELP                "Catalog for %s %s"
    IDS_HELP_FUNCTIONS      "Functions"
    IDS_HELP_OPERATORS      "Operators"
    IDS_HELP_ERROR_CODES    "Error codes"
END

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


/////////////////////////////////////////////////////////////////////////////
// French (France) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA)
#ifdef _WIN32
LANGUAGE LANG_FRENCH, SUBLANG_FRENCH
#pragma code_page(1252)
#endif //_WIN32

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

1 TEXTINCLUDE DISCARDABLE 
BEGIN
    "resource.h\0"
END

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

3 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
    "#define _AFX_NO_OLE_RESOURCES\r\n"
    "#define _AFX_NO_TRACKER_RESOURCES\r\n"
    "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
    "\r\n"
    "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA)\r\n"
    "#ifdef _WIN32\r\n"
    "LANGUAGE 12, 1\r\n"
    "#pragma code_page(1252)\r\n"
    "#endif //_WIN32\r\n"
    "#include ""res\\Visual Calc.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
    "#include ""l.fra\\afxres.rc""          // Standard components\r\n"
    "#endif\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME           ICON    DISCARDABLE     "res\\Visual Calc.ico"
IDI_ABOUT               ICON    DISCARDABLE     "res\\About.ico"
IDI_HELP                ICON    DISCARDABLE     "res\\Help.ico"
IDI_WINXP               ICON    DISCARDABLE     "res\\WinXP.ico"
IDI_CODEPROJECT         ICON    DISCARDABLE     "res\\CodeProject.ico"
IDI_SWITCH              ICON    DISCARDABLE     "res\\switch.ico"
IDI_VISUALSTUDIO6       ICON    DISCARDABLE     "res\\visualst.ico"
IDI_FUNCTIONS           ICON    DISCARDABLE     "res\\function.ico"
IDI_OPERATORS           ICON    DISCARDABLE     "res\\operator.ico"
IDI_ERRORCODES          ICON    DISCARDABLE     "res\\ico00001.ico"
IDI_DOXYGEN             ICON    DISCARDABLE     "res\\Doxygen.ico"

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 297, 132
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         105,IDC_STATIC,"Static",SS_BITMAP,0,0,297,38
    CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDHORZ,0,38,297,1
    ICON            IDI_DOXYGEN,IDC_STATIC,216,40,20,20
    ICON            IDI_VISUALSTUDIO6,IDC_STATIC,237,40,20,20
    ICON            IDI_CODEPROJECT,IDC_STATIC,258,40,20,20
    ICON            IDI_WINXP,IDC_STATIC,278,40,20,20
    ICON            IDR_MAINFRAME,IDC_STATIC,19,50,20,20
    LTEXT           "-----",IDC_GUIVERSION_STATIC,45,50,141,8,SS_NOPREFIX
    LTEXT           "-----",IDC_PARSERVERSION_STATIC,45,60,141,8,SS_NOPREFIX
    LTEXT           "-----",IDC_COPYRIGHT_STATIC,45,75,141,8
    LTEXT           "-----",IDC_CODEPROJECT_STATIC,45,85,141,8
    LTEXT           "-----",IDC_DOXYGEN_STATIC,45,93,141,8
    CTEXT           "- ----- -",IDC_CLOSECLICK_STATIC,89,117,118,8
END

IDD_VISUALCALC_DIALOG DIALOGEX 0, 0, 302, 175
STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | 
    WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
    EDITTEXT        IDC_INPUT_EDIT,7,7,207,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_OUTPUT_EDIT,7,25,261,14,ES_AUTOHSCROLL | ES_READONLY,
                    WS_EX_CLIENTEDGE
    DEFPUSHBUTTON   "",IDC_CALC_BTN,219,7,50,14,0,WS_EX_STATICEDGE
    PUSHBUTTON      "",IDC_ABOUT_BTN,272,6,23,14,0,WS_EX_STATICEDGE
    PUSHBUTTON      "",IDC_HELP_BTN,272,25,23,14,0,WS_EX_STATICEDGE
    CONTROL         "",IDC_STATIC,"Static",SS_BLACKFRAME,7,44,288,1
    LTEXT           "",IDC_ANSWERS_STATIC,7,50,47,11
    LISTBOX         IDC_ANSLIST_LBOX,7,61,90,83,LBS_NOINTEGRALHEIGHT | 
                    WS_VSCROLL | WS_TABSTOP,WS_EX_DLGMODALFRAME
    LISTBOX         IDC_FORMULAS_LBOX,7,61,90,83,LBS_NOINTEGRALHEIGHT | NOT 
                    WS_VISIBLE | WS_VSCROLL | WS_TABSTOP,WS_EX_DLGMODALFRAME
    CONTROL         "X",IDC_ANSLISTSTATE_CHK,"Button",BS_AUTOCHECKBOX | 
                    BS_ICON | BS_PUSHLIKE | BS_FLAT | WS_TABSTOP,56,50,13,11,
                    WS_EX_STATICEDGE
    PUSHBUTTON      "",IDC_RESETANS_BTN,70,50,27,11,0,WS_EX_STATICEDGE
    CONTROL         "",IDC_STATIC,"Static",SS_BLACKFRAME,102,45,1,99
    LTEXT           "",IDC_VARIABLES_STATIC,107,50,47,11
    LISTBOX         IDC_VARNAMES_LBOX,108,61,89,83,LBS_NOINTEGRALHEIGHT | 
                    WS_VSCROLL | WS_TABSTOP,WS_EX_DLGMODALFRAME
    LISTBOX         IDC_VARVALS_LBOX,108,61,89,83,LBS_NOINTEGRALHEIGHT | NOT 
                    WS_VISIBLE | WS_VSCROLL | WS_TABSTOP,WS_EX_DLGMODALFRAME
    CONTROL         "X",IDC_VARLISTSTATE_CHK,"Button",BS_AUTOCHECKBOX | 
                    BS_ICON | BS_PUSHLIKE | BS_FLAT | WS_TABSTOP,155,50,13,
                    11,WS_EX_STATICEDGE
    PUSHBUTTON      "",IDC_RESETVARS_BTN,169,50,27,11,0,WS_EX_STATICEDGE
    CONTROL         "",IDC_STATIC,"Static",SS_BLACKFRAME,201,45,1,99
    LTEXT           "",IDC_FUNCTIONS_STATIC,206,50,47,11
    LISTBOX         IDC_FUNCLIST_LBOX,206,61,89,83,LBS_SORT | 
                    LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP,
                    WS_EX_DLGMODALFRAME
    PUSHBUTTON      "",IDC_RESETFUNCS_BTN,268,50,27,11,NOT WS_VISIBLE,
                    WS_EX_STATICEDGE
    CTEXT           "",IDC_VISUALCALC_STATIC,0,149,36,8,WS_DISABLED
    CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDHORZ,36,153,266,1
    LTEXT           "----------------------------------------------------------------",
                    IDC_HOWTOQUIT_STATIC,172,160,130,8
END

IDD_FUNCTIONS_PAGE DIALOG DISCARDABLE  0, 0, 265, 218
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
FONT 8, "MS Sans Serif"
BEGIN
    ICON            IDI_FUNCTIONS,IDC_STATIC,0,1,20,20
    LTEXT           "---",IDC_FCTS_AVAILABLE_STATIC,21,7,77,8
    LTEXT           "---",IDC_FCTS_NAMES_STATIC,99,7,55,8
    LTEXT           "---",IDC_FCTS_USES_STATIC,153,7,105,8
    CONTROL         "",IDC_STATIC,"Static",SS_BLACKFRAME,7,22,251,1
    RTEXT           "",IDC_FCTS_ABS_DEF_STATIC,21,31,77,8
    LTEXT           "abs",IDC_STATIC,99,31,55,8
    LTEXT           "",IDC_FCTS_ABS_USE_STATIC,153,31,105,8
    RTEXT           "",IDC_FCTS_ACOS_DEF_STATIC,21,39,77,8
    LTEXT           "Acos",IDC_STATIC,99,39,55,8
    LTEXT           "",IDC_FCTS_ACOS_USE_STATIC,153,39,105,8
    RTEXT           "",IDC_FCTS_ANS_DEF_STATIC,21,47,77,8
    LTEXT           "Ans",IDC_STATIC,99,47,55,8
    LTEXT           "",IDC_FCTS_ANS_USE_STATIC,153,47,105,8
    RTEXT           "",IDC_FCTS_ASIN_DEF_STATIC,21,55,77,8
    LTEXT           "Asin",IDC_STATIC,99,55,55,8
    LTEXT           "",IDC_FCTS_ASIN_USE_STATIC,153,55,105,8
    RTEXT           "",IDC_FCTS_ATAN_DEF_STATIC,21,63,77,8
    LTEXT           "Atan",IDC_STATIC,99,63,55,8
    LTEXT           "",IDC_FCTS_ATAN_USE_STATIC,153,63,105,8
    RTEXT           "",IDC_FCTS_COS_DEF_STATIC,21,71,77,8
    LTEXT           "cos",IDC_STATIC,99,71,55,8
    LTEXT           "",IDC_FCTS_COS_USE_STATIC,153,71,105,8
    RTEXT           "",IDC_FCTS_COSH_DEF_STATIC,21,79,77,8
    LTEXT           "cosh",IDC_STATIC,99,79,55,8
    LTEXT           "",IDC_FCTS_COSH_USE_STATIC,153,79,105,8
    RTEXT           "",IDC_FCTS_DEG_DEF_STATIC,21,87,77,8
    LTEXT           "deg",IDC_STATIC,99,87,55,8
    LTEXT           "",IDC_FCTS_DEG_USE_STATIC,153,87,105,8
    RTEXT           "",IDC_FCTS_EXP_DEF_STATIC,21,95,77,8
    LTEXT           "exp",IDC_STATIC,99,95,55,8
    LTEXT           "",IDC_FCTS_EXP_USE_STATIC,153,95,105,8
    RTEXT           "",IDC_FCTS_LN_DEF_STATIC,21,103,77,8
    LTEXT           "ln",IDC_STATIC,99,103,55,8
    LTEXT           "",IDC_FCTS_LN_USE_STATIC,153,103,105,8
    RTEXT           "",IDC_FCTS_LOG_DEF_STATIC,21,111,77,8
    LTEXT           "log",IDC_STATIC,99,111,55,8
    LTEXT           "",IDC_FCTS_LOG_USE_STATIC,153,111,105,8
    RTEXT           "",IDC_FCTS_LOGN_DEF_STATIC,21,119,77,8
    LTEXT           "logn",IDC_STATIC,99,119,55,8
    LTEXT           "",IDC_FCTS_LOGN_USE_STATIC,153,119,105,8
    RTEXT           "",IDC_FCTS_NAP_DEF_STATIC,21,127,77,8
    LTEXT           "nAp",IDC_STATIC,99,127,55,8
    LTEXT           "",IDC_FCTS_NAP_USE_STATIC,153,127,105,8
    RTEXT           "",IDC_FCTS_NCP_DEF_STATIC,21,135,77,8
    LTEXT           "nCp",IDC_STATIC,99,135,55,8
    LTEXT           "",IDC_FCTS_NCP_USE_STATIC,153,135,105,8
    RTEXT           "",IDC_FCTS_PRODUCT_DEF_STATIC,21,143,77,8
    LTEXT           "product",IDC_STATIC,99,143,55,8
    LTEXT           "",IDC_FCTS_PRODUCT_USE_STATIC,153,143,105,8
    RTEXT           "",IDC_FCTS_RAD_DEF_STATIC,21,151,77,8
    LTEXT           "rad",IDC_STATIC,99,151,55,8
    LTEXT           "",IDC_FCTS_RAD_USE_STATIC,153,151,105,8
    RTEXT           "",IDC_FCTS_SIN_DEF_STATIC,21,159,77,8
    LTEXT           "sin",IDC_STATIC,99,159,55,8
    LTEXT           "",IDC_FCTS_SIN_USE_STATIC,153,159,105,8
    RTEXT           "",IDC_FCTS_SINH_DEF_STATIC,21,167,77,8
    LTEXT           "sinh",IDC_STATIC,99,167,55,8
    LTEXT           "",IDC_FCTS_SINH_USE_STATIC,153,167,105,8
    RTEXT           "",IDC_FCTS_SQRT_DEF_STATIC,21,175,77,8
    LTEXT           "sqrt",IDC_STATIC,99,175,55,8
    LTEXT           "",IDC_FCTS_SQRT_USE_STATIC,153,175,105,8
    RTEXT           "",IDC_FCTS_SQRTN_DEF_STATIC,21,183,77,8
    LTEXT           "sqrtn",IDC_STATIC,99,183,55,8
    LTEXT           "",IDC_FCTS_SQRTN_USE_STATIC,153,183,105,8
    RTEXT           "",IDC_FCTS_SUM_DEF_STATIC,21,191,77,8
    LTEXT           "sum",IDC_STATIC,99,191,55,8
    LTEXT           "",IDC_FCTS_SUM_USE_STATIC,153,191,105,8
    RTEXT           "",IDC_FCTS_TAN_DEF_STATIC,21,199,77,8
    LTEXT           "tan",IDC_STATIC,99,199,55,8
    LTEXT           "",IDC_FCTS_TAN_USE_STATIC,153,199,105,8
    RTEXT           "",IDC_FCTS_TANH_DEF_STATIC,21,208,77,8
    LTEXT           "tanh",IDC_STATIC,99,208,55,8
    LTEXT           "",IDC_FCTS_TANH_USE_STATIC,153,208,105,8
END

IDD_OPERATORS_PAGE DIALOG DISCARDABLE  0, 0, 265, 135
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
FONT 8, "MS Sans Serif"
BEGIN
    ICON            IDI_OPERATORS,IDC_STATIC,0,1,20,20
    LTEXT           "---",IDC_OPERS_AVAILABLE_STATIC,21,7,77,8
    LTEXT           "---",IDC_OPERS_USES_STATIC,153,7,105,8
    CONTROL         "",IDC_STATIC,"Static",SS_BLACKFRAME,7,22,251,1
    RTEXT           "",IDC_OPERS_ADDITION_DEF_STATIC,21,31,77,8
    LTEXT           "+",IDC_STATIC,99,31,55,8
    LTEXT           "expr + expr",IDC_STATIC,153,31,105,8
    RTEXT           "",IDC_OPERS_SUBTRACTION_DEF_STATIC,21,39,77,8
    LTEXT           "-",IDC_STATIC,99,39,55,8
    LTEXT           "epxr - expr",IDC_STATIC,153,39,105,8
    RTEXT           "",IDC_OPERS_MULTIPLICATION_DEF_STATIC,21,47,77,8
    LTEXT           "*",IDC_STATIC,99,47,55,8
    LTEXT           "expr * expr",IDC_STATIC,153,47,105,8
    RTEXT           "",IDC_OPERS_DIVISION_DEF_STATIC,21,55,77,8
    LTEXT           "/",IDC_STATIC,99,55,55,8
    LTEXT           "expr / expr",IDC_STATIC,153,55,105,8
    RTEXT           "",IDC_OPERS_POWER_DEF_STATIC,21,63,77,8
    LTEXT           "^",IDC_STATIC,99,63,55,8
    LTEXT           "expr ^ expr",IDC_STATIC,153,63,105,8
    RTEXT           "",IDC_OPERS_MODULUS_DEF_STATIC,21,71,77,8
    LTEXT           "%",IDC_STATIC,99,71,55,8
    LTEXT           "expr % expr",IDC_STATIC,153,71,105,8
    RTEXT           "",IDC_OPERS_PARENTHESIS_DEF_STATIC,21,79,77,8
    LTEXT           "( )",IDC_STATIC,99,79,55,8
    LTEXT           "( expr )",IDC_STATIC,153,79,105,8
    RTEXT           "",IDC_OPERS_UNARYPLUS_DEF_STATIC,21,87,77,8
    LTEXT           "+",IDC_STATIC,99,87,55,8
    LTEXT           "+ expr",IDC_STATIC,153,87,105,8
    RTEXT           "",IDC_OPERS_UNARYMINUS_DEF_STATIC,21,95,77,8
    LTEXT           "-",IDC_STATIC,99,95,55,8
    LTEXT           "- expr",IDC_STATIC,153,95,105,8
    RTEXT           "",IDC_OPERS_ASSIGNEMENT_DEF_STATIC,21,103,77,8
    LTEXT           "=",IDC_STATIC,99,103,55,8
    LTEXT           "Var = expr",IDC_STATIC,153,103,105,8
    RTEXT           "",IDC_OPERS_FACTORIAL_DEF_STATIC,21,111,77,8
    LTEXT           "!",IDC_STATIC,99,111,55,8
    LTEXT           "expr !",IDC_STATIC,153,111,105,8
    RTEXT           "",IDC_OPERS_DEGTORAD_DEF_STATIC,21,119,77,8
    LTEXT           "�",IDC_STATIC,99,119,55,8
    LTEXT           "expr �",IDC_STATIC,153,119,105,8
END

IDD_ERROR_CODES_PAGE DIALOG DISCARDABLE  0, 0, 265, 343
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
FONT 8, "MS Sans Serif"
BEGIN
    ICON            IDI_ERRORCODES,IDC_STATIC,0,1,20,20
    LTEXT           "---",IDC_ERRORS_CODES,21,7,62,8
    LTEXT           "---",IDC_ERRORS_DESCRIPTIONS,83,7,175,8
    CONTROL         "",IDC_STATIC,"Static",SS_BLACKFRAME,7,22,251,1
    LTEXT           "--- :",IDC_ERRORS_SYNTAX,21,31,237,8
    RTEXT           "1001 : ",IDC_STATIC,21,39,62,8
    LTEXT           "",IDC_ERRORS_1001,83,39,175,8
    RTEXT           "1002 : ",IDC_STATIC,21,47,62,8
    LTEXT           "",IDC_ERRORS_1002,83,47,175,8
    RTEXT           "1003 : ",IDC_STATIC,21,55,62,8
    LTEXT           "",IDC_ERRORS_1003,83,55,175,8
    RTEXT           "1004 : ",IDC_STATIC,21,63,62,8
    LTEXT           "",IDC_ERRORS_1004,83,63,175,8
    LTEXT           "--- :",IDC_ERRORS_MATHEMATIC,21,76,237,8
    RTEXT           "2001 : ",IDC_STATIC,21,84,62,8
    LTEXT           "",IDC_ERRORS_2001,83,84,175,8
    RTEXT           "2002 : ",IDC_STATIC,21,92,62,8
    LTEXT           "",IDC_ERRORS_2002,83,92,175,8
    RTEXT           "2003 : ",IDC_STATIC,21,100,62,8
    LTEXT           "",IDC_ERRORS_2003,83,100,175,8
    RTEXT           "2004 : ",IDC_STATIC,21,108,62,8
    LTEXT           "",IDC_ERRORS_2004,83,108,175,8
    RTEXT           "2005 : ",IDC_STATIC,21,116,62,8
    LTEXT           "",IDC_ERRORS_2005,83,116,175,8
    RTEXT           "2006 : ",IDC_STATIC,21,124,62,8
    LTEXT           "",IDC_ERRORS_2006,83,124,175,8
    RTEXT           "2007 : ",IDC_STATIC,21,132,62,8
    LTEXT           "",IDC_ERRORS_2007,83,132,175,8
    RTEXT           "2008 : ",IDC_STATIC,21,140,62,8
    LTEXT           "",IDC_ERRORS_2008,83,140,175,8
    LTEXT           "--- :",IDC_ERRORS_FUNCTIONS,21,153,237,8
    RTEXT           "3001 : ",IDC_STATIC,21,161,62,8
    LTEXT           "",IDC_ERRORS_3001,83,161,175,8
    RTEXT           "3002 : ",IDC_STATIC,21,169,62,8
    LTEXT           "",IDC_ERRORS_3002,83,169,175,8
    RTEXT           "3003 : ",IDC_STATIC,21,177,62,8
    LTEXT           "",IDC_ERRORS_3003,83,177,175,8
    LTEXT           "--- :",IDC_ERRORS_PARAMETERS,21,190,237,8
    RTEXT           "4001 : ",IDC_STATIC,21,198,62,8
    LTEXT           "",IDC_ERRORS_4001,83,198,175,8
    RTEXT           "4002 : ",IDC_STATIC,21,206,62,8
    LTEXT           "",IDC_ERRORS_4002,83,206,175,8
    LTEXT           "--- :",IDC_ERRORS_VARIABLES,21,220,237,8
    RTEXT           "5001 : ",IDC_STATIC,21,228,62,8
    LTEXT           "",IDC_ERRORS_5001,83,228,175,8
    RTEXT           "5002 : ",IDC_STATIC,21,236,62,8
    LTEXT           "",IDC_ERRORS_5002,83,236,175,8
    RTEXT           "5003 : ",IDC_STATIC,21,244,62,8
    LTEXT           "",IDC_ERRORS_5003,83,244,175,8
    LTEXT           "--- :",IDC_ERRORS_DOMAIN,21,257,237,8
    RTEXT           "6001 : ",IDC_STATIC,21,265,62,8
    LTEXT           "",IDC_ERRORS_6001,83,265,175,8
    RTEXT           "6002 : ",IDC_STATIC,21,273,62,8
    LTEXT           "",IDC_ERRORS_6002,83,273,175,8
    RTEXT           "6003 : ",IDC_STATIC,21,281,62,8
    LTEXT           "",IDC_ERRORS_6003,83,281,175,8
    RTEXT           "6004 : ",IDC_STATIC,21,289,62,8
    RTEXT           "6005 : ",IDC_STATIC,21,297,62,8
    LTEXT           "",IDC_ERRORS_6004,83,289,175,8
    LTEXT           "",IDC_ERRORS_6005,83,297,175,8
    LTEXT           "--- :",IDC_ERRORS_PARSER,21,310,237,8
    RTEXT           "9001 : ",IDC_STATIC,21,318,62,8
    LTEXT           "",IDC_ERRORS_9001,83,318,175,8
    RTEXT           "9009 : ",IDC_STATIC,21,326,62,8
    LTEXT           "",IDC_ERRORS_9009,83,326,175,8
END


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE 
BEGIN
    IDD_ABOUTBOX, DIALOG
    BEGIN
        BOTTOMMARGIN, 125
    END

    IDD_VISUALCALC_DIALOG, DIALOG
    BEGIN
        BOTTOMMARGIN, 168
    END

    IDD_FUNCTIONS_PAGE, DIALOG
    BEGIN
        RIGHTMARGIN, 258
    END

    IDD_OPERATORS_PAGE, DIALOG
    BEGIN
        RIGHTMARGIN, 258
    END

    IDD_ERROR_CODES_PAGE, DIALOG
    BEGIN
        RIGHTMARGIN, 258
        TOPMARGIN, 1
    END
END
#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//

IDB_ABOUTFRAME          BITMAP  DISCARDABLE     "res\\AboutFrame.bmp"
#endif    // French (France) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA)
#ifdef _WIN32
LANGUAGE 12, 1
#pragma code_page(1252)
#endif //_WIN32
#include "res\Visual Calc.rc2"  // non-Microsoft Visual C++ edited resources
#include "l.fra\afxres.rc"          // Standard components
#endif

/////////////////////////////////////////////////////////////////////////////
#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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

toxcct
Software Developer (Senior) Accenture Technology Solutions
France France

Toxcct is an electronics guy who felt in love with programming at the age of 10 when he discovered C to play with Texas-Instruments calculators.
 
Few years later, he discovered "The C++ Language" from Bjarne Stroustrup ; a true transformation in his life.
 
Now, toxcct is experiencing the Web by developing Siebel CRM Applications for a living. He also respects very much the Web Standards (YES, a HTML/CSS code MUST validate !), and plays around with HTML/CSS/Javascript/Ajax/PHP and such.
 
_____
 
After four years of services as a Codeproject MVP, toxcct is now taking some distance as he doesn't like how things are going on the forums. he particularly doesn't accept how some totally ignorant people got the MVP Reward by only being arrogant and insulting while replying on the technical forums.
 


| Advertise | Privacy | Mobile
Web02 | 2.8.141022.1 | Last Updated 28 Apr 2006
Article Copyright 2004 by toxcct
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid