//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

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

1 TEXTINCLUDE MOVEABLE PURE 
BEGIN
    "resource.h\0"
END

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

3 TEXTINCLUDE MOVEABLE PURE 
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_ENU)\r\n"
    "#ifdef _WIN32\r\n"
    "LANGUAGE 9, 1\r\n"
    "#pragma code_page(1252)\r\n"
    "#endif //_WIN32\r\n"
    "#include ""res\\CheckTr.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
    "#include ""afxres.rc""         // Standard components\r\n"
    "#include ""afxprint.rc""       // printing/print preview resources\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\\CheckTr.ico"

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

IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\\Toolbar.bmp"
IDB_BITMAP1             BITMAP  MOVEABLE PURE   "res\\bitmap1.bmp"

/////////////////////////////////////////////////////////////////////////////
//
// Toolbar
//

IDR_MAINFRAME TOOLBAR MOVEABLE PURE  16, 15
BEGIN
    BUTTON      ID_SPEC_SAVE
    BUTTON      ID_SAVESCREEN
    BUTTON      ID_OPEN
    BUTTON      ID_EDIT_COPY
    SEPARATOR
    BUTTON      ID_FILE_PRINT
    SEPARATOR
    BUTTON      ID_CHOOSESPECTR
    BUTTON      ID_MESSAGE
    BUTTON      ID_TRIGGER
    SEPARATOR
    BUTTON      ID_XAUTOSCALE
    BUTTON      ID_YAUTOSCALE
    BUTTON      ID_XYAUTOSCALE
    BUTTON      ID_SETSCALE
    SEPARATOR
    BUTTON      ID_GETSPECTRA
    BUTTON      ID_LOADSOURCESPECTRA
    SEPARATOR
    BUTTON      ID_BASELINE
    SEPARATOR
    BUTTON      ID_SNAP
    BUTTON      ID_CLEARALL
    SEPARATOR
    BUTTON      ID_ABOUT
END


/////////////////////////////////////////////////////////////////////////////
//
// Menu
//

IDR_MAINFRAME MENU DISCARDABLE 
BEGIN
    POPUP "&File"
    BEGIN
        MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
        MENUITEM "&Save spectra, txt",          ID_FILE_SAVE1
        MENUITEM "Save screen, bmp",            ID_FILE_SAVE_BMP
        MENUITEM "Save, 1nm step",              ID_FILE_SAVE_ONE
        MENUITEM "Save, 380-760nm normalized to sensitivity", 
                                                ID_FILE_SAVE_XYZ
        MENUITEM SEPARATOR
        MENUITEM "&Print...\tCtrl+P",           ID_FILE_PRINT
        MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
        MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
        MENUITEM SEPARATOR
        MENUITEM "Load Calibration from file",  ID_LOAD_CALIBRATION
        MENUITEM "Save Calibration to file",    ID_SAVE_CALIBRATION
        MENUITEM SEPARATOR
        MENUITEM "Save current calibration to FLASH memory", 
                                                ID_SAVE_CALIBRATION_TO_FLASH
        MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
        MENUITEM SEPARATOR
        MENUITEM "E&xit",                       ID_APP_EXIT
    END
    POPUP "&Edit"
    BEGIN
        MENUITEM SEPARATOR
        MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
    END
    POPUP "&View"
    BEGIN
        MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
        MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
        MENUITEM "Chart Bar",                   ID_VIEW_CHARTBAR
        MENUITEM "x-scale in 1/cm",             ID_VIEW_CM
        MENUITEM "x-scale in nm",               ID_VIEW_NM
        MENUITEM "400 - 700 nm scale",          ID_VIEW_400to700
    END
    POPUP "&Help"
    BEGIN
        MENUITEM "&About",                      ID_ABOUT
    END
    POPUP "Calibration"
    BEGIN
        MENUITEM "Calibration",                 ID_CALIBRATION
        MENUITEM "Plastic calibration (Raman only)", ID_PLST_CLBR
        MENUITEM "XYZ Planck calibration",      ID_PLANCKCALIBRATION
        MENUITEM "Get data without calibration", ID_CALIBRATION_OFF
    END
END


/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//

IDR_MAINFRAME ACCELERATORS MOVEABLE PURE 
BEGIN
    "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
    "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
    "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
    "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
    "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
    "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
    "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
    "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
    VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
    VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
    VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
    VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
    VK_F6,          ID_NEXT_PANE,           VIRTKEY 
    VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
END


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

IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 290, 71
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About program"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "Version 2.2",IDC_STATIC,104,18,53,8,SS_NOPREFIX
    DEFPUSHBUTTON   "OK",IDOK,233,50,50,14,WS_GROUP
    LTEXT           "ASEQ Instruments",IDC_STATIC,27,17,58,8
END

IDD_EXPTIME DIALOG DISCARDABLE  0, 0, 358, 238
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Settings"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,29,217,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,144,217,50,14
    EDITTEXT        IDC_EXPTIME,23,21,40,14,ES_AUTOHSCROLL
    LTEXT           "Exposure time (ms)",IDC_STATIC,19,9,60,8
    CONTROL         "Show Report",IDC_CHECK1,"Button",BS_AUTOCHECKBOX | 
                    WS_DISABLED | WS_TABSTOP,107,179,57,10
    EDITTEXT        IDC_BLANK,23,81,40,14,ES_AUTOHSCROLL
    LTEXT           "number of scans",IDC_STATIC,15,36,53,8
    EDITTEXT        IDC_TOTSTARTPIX,12,188,40,14,ES_AUTOHSCROLL | 
                    WS_DISABLED
    LTEXT           "Tstart pixel",IDC_STATIC,14,177,35,8,WS_DISABLED
    EDITTEXT        IDC_TOTENDPIX,62,188,40,14,ES_AUTOHSCROLL | WS_DISABLED
    LTEXT           "Tend pixel",IDC_STATIC,65,177,34,8,WS_DISABLED
    CONTROL         "Test",IDC_TEST,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
                    107,192,30,10
    EDITTEXT        IDC_NSCAN,23,47,40,14,ES_AUTOHSCROLL
    LTEXT           "number of blank scans\nbetween real scans",IDC_STATIC,
                    12,62,77,17
    CONTROL         "Trigger",IDC_TRIGGER,"Button",BS_AUTOCHECKBOX | NOT 
                    WS_VISIBLE | WS_DISABLED | WS_TABSTOP,71,90,38,10
    CONTROL         "keep Trigger",IDC_KEEPTRIGGER,"Button",BS_AUTOCHECKBOX | 
                    NOT WS_VISIBLE | WS_DISABLED | WS_TABSTOP,70,79,56,10
    CONTROL         "Average",IDC_AVERAGED,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,74,50,43,10
    CONTROL         "Fast",IDC_FAST,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,74,
                    24,29,10
    CONTROL         "Add color bar",IDC_COLBAR,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,121,9,58,10
    CONTROL         "Apply norm",IDC_APPLNORM,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,107,205,51,10
    CONTROL         "Show Max Intensity",IDC_SHOWMAX,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,121,22,77,10
    CONTROL         "Calculate",IDC_CALCDISTR,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,259,28,45,10
    GROUPBOX        "Calculate Spectral Energy Distribution ",IDC_STATIC,216,
                    14,131,183
    EDITTEXT        IDC_LOWRANGE,234,53,40,14,ES_AUTOHSCROLL
    LTEXT           "Low range",IDC_STATIC,237,42,34,8
    EDITTEXT        IDC_UPPERRANGE,291,54,40,14,ES_AUTOHSCROLL
    LTEXT           "Upper range",IDC_STATIC,292,42,40,8
    EDITTEXT        IDC_LOWRANGE1,233,93,40,14,ES_AUTOHSCROLL
    LTEXT           "Low Range",IDC_STATIC,235,83,38,8
    EDITTEXT        IDC_UPEERRANGE1,289,92,40,14,ES_AUTOHSCROLL
    LTEXT           "Upper range",IDC_STATIC,293,82,40,8
    GROUPBOX        "Interval 1 (blue)",IDC_STATIC,225,72,121,39
    EDITTEXT        IDC_LOWRANGE2,232,132,40,14,ES_AUTOHSCROLL
    LTEXT           "Low Range",IDC_STATIC,234,122,38,8
    EDITTEXT        IDC_UPPERRANGE2,288,131,40,14,ES_AUTOHSCROLL
    LTEXT           "Upper range",IDC_STATIC,292,121,40,8
    GROUPBOX        "Interval 2 (green)",IDC_STATIC,224,111,121,39
    EDITTEXT        IDC_LOWRANGE3,232,172,40,14,ES_AUTOHSCROLL
    LTEXT           "Low Range",IDC_STATIC,234,162,38,8
    EDITTEXT        IDC_UPPERRANGE3,288,171,40,14,ES_AUTOHSCROLL
    LTEXT           "Upper range",IDC_STATIC,292,161,40,8
    GROUPBOX        "Interval 3 (red)",IDC_STATIC,224,151,121,39
    CONTROL         "Save data every",IDC_AUTOSAVE,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,23,109,68,10
    EDITTEXT        IDC_AUTOMINUTES,95,107,37,14,ES_AUTOHSCROLL
    LTEXT           "seconds",IDC_STATIC,134,109,28,8
    GROUPBOX        "",IDC_STATIC,15,99,188,75
    CONTROL         "Save spectra, txt",IDC_AUTOSAVE_1,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,51,126,69,10
    CONTROL         "Save screen, bmp",IDC_AUTOSAVE_2,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,51,137,73,10
    CONTROL         "Save, 1nm step",IDC_AUTOSAVE_3,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,51,148,65,10
    CONTROL         "Save, 380-760nm normalized to sensitivity",
                    IDC_AUTOSAVE_4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,51,
                    159,147,10
    EDITTEXT        IDC_ENERGYCORRECT,287,212,54,14,ES_AUTOHSCROLL
    GROUPBOX        "Irradiation correction coefficient",IDC_STATIC,216,199,
                    132,32
    CONTROL         "Save to FLASH",IDC_IRRCORRSAVE,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,221,215,65,10
    CONTROL         "Gaussian Appr.",IDC_GAUSS,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,121,35,64,10
    CONTROL         "Apply calibr",IDC_APPLCAL,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,161,206,52,10
END

IDD_REPORT DIALOG DISCARDABLE  0, 0, 201, 199
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Report"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,43,178,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,115,178,50,14
    LISTBOX         IDC_LIST1,41,26,118,127,LBS_SORT | LBS_NOINTEGRALHEIGHT | 
                    WS_VSCROLL | WS_TABSTOP
END

IDD_XYSCALE DIALOG DISCARDABLE  0, 0, 186, 98
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "X Y Scale"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,35,77,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,112,77,50,14
    EDITTEXT        IDC_MINX,27,24,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_MAXX,27,52,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_MINY,120,24,40,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_MAXY,120,52,40,12,ES_AUTOHSCROLL
    LTEXT           "Y Minimum",IDC_STATIC,121,12,35,8
    LTEXT           "Y Maximum",IDC_STATIC,121,40,37,8
    LTEXT           "X Minimum",IDC_MINXCP,13,12,77,8
    LTEXT           "X Maximum",IDC_MAXXCP,13,40,77,8
END

IDD_CALIBRATION DIALOG DISCARDABLE  0, 0, 156, 125
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Calibration"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "Write coefficients",IDOK,9,99,70,14
    PUSHBUTTON      "Cancel",IDCANCEL,95,99,50,14
    LTEXT           "wavelength = Ax^2 + Bx + C\n (x - CCD pixel)",
                    IDC_STATIC,24,7,98,17
    EDITTEXT        IDC_A,48,76,73,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_B,48,53,73,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_C,48,30,73,14,ES_AUTOHSCROLL
    LTEXT           "A:",IDC_STATIC,33,80,8,8
    LTEXT           "B:",IDC_STATIC,33,56,8,8
    LTEXT           "C:",IDC_STATIC,33,32,8,8
END

IDD_CHART_BAR DIALOG DISCARDABLE  0, 0, 601, 26
STYLE WS_CHILD
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_EXPOS,95,3,29,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_AVEDIT,265,3,19,12,ES_AUTOHSCROLL
    LTEXT           "Exposure (ms):",IDC_STATIC,43,1,47,8
    CONTROL         "Fast",IDC_FAST,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
                    289,1,29,10
    CONTROL         "Average",IDC_AVERAGING,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,193,1,43,10
    LTEXT           "Scans:",IDC_STATIC,239,5,23,8
    CONTROL         "",IDC_SBSTRBCK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
                    323,2,9,8
    PUSHBUTTON      "Get background",IDC_GETBCK,370,5,59,10
    CONTROL         "Run",IDC_RUN,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,3,
                    29,10
    LTEXT           "ExpText",IDC_EXPTEXT,44,9,27,8
    CONTROL         "",IDC_RAD_SP_DEV_REF,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,434,12,9,8
    CONTROL         "",IDC_RAD_REF_M_SP,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,434,1,10,8
    LTEXT           "background",IDC_STATIC,327,10,39,8
    EDITTEXT        IDC_BOXCAR,164,3,20,12,ES_AUTOHSCROLL
    LTEXT           "BoxCar:",IDC_STATIC,133,5,26,8
    LTEXT           "Subtract",IDC_STATIC,338,2,28,8
    LTEXT           "Ref - Spectra",IDC_STATIC,445,1,43,8
    LTEXT           "Spectra / Ref",IDC_STATIC,445,11,44,8
    CONTROL         "",IDC_RAD_LOG1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
                    495,2,10,8
    LTEXT           "ABS",IDC_STATIC,506,2,17,8
    CONTROL         "X, Y chromaticity space",IDC_XYSPACE,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,534,2,10,8
    LTEXT           "X, Y space",IDC_STATIC,544,1,39,8
    PUSHBUTTON      "+",IDC_XYZPLUS,584,1,9,9
    PUSHBUTTON      "-",IDC_XYZMINUS,584,11,9,9
    PUSHBUTTON      "concentration",IDC_CNSTR,493,15,47,9
    CONTROL         "Log scale",IDC_LOG,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,193,14,47,10
    CONTROL         "auto Y",IDC_AUTOY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
                    289,14,37,10
    CONTROL         "Progress1",IDC_PROGRESS1,"msctls_progress32",WS_BORDER,
                    79,17,63,7
END

IDD_ABOUTB DIALOG DISCARDABLE  0, 0, 321, 164
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About program"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,264,143,50,14,WS_GROUP
    LTEXT           "Version 1.5",IDC_STATIC,49,39,53,8,SS_NOPREFIX
    LTEXT           "ASEQ Instruments",IDC_STATIC,49,20,155,8
    LTEXT           "Device info:",IDC_DEVICEINFO,48,77,131,8
    LTEXT           "www.aseq-instruments.com",IDC_STATIC,49,58,87,8
    LTEXT           "Note: external trigger is fixed",IDC_DEVICEINFO2,46,115,
                    131,8
END


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

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 1,0,0,1
 PRODUCTVERSION 1,0,0,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", "\0"
            VALUE "CompanyName", "\0"
            VALUE "FileDescription", "Spectra1 Application\0"
            VALUE "FileVersion", "1, 0, 0, 1\0"
            VALUE "InternalName", "Spec_ADK\0"
            VALUE "LegalCopyright", "Copyright (C) 2008\0"
            VALUE "LegalTrademarks", "\0"
            VALUE "OriginalFilename", "Spec_ADK.EXE\0"
            VALUE "PrivateBuild", "\0"
            VALUE "ProductName", "CheckTr Application\0"
            VALUE "ProductVersion", "1, 0, 0, 1\0"
            VALUE "SpecialBuild", "\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END

#endif    // !_MAC


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

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO MOVEABLE PURE 
BEGIN
    IDD_ABOUTBOX, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 283
        TOPMARGIN, 7
        BOTTOMMARGIN, 64
    END

    IDD_EXPTIME, DIALOG
    BEGIN
        LEFTMARGIN, 8
        RIGHTMARGIN, 351
        TOPMARGIN, 7
        BOTTOMMARGIN, 231
    END

    IDD_REPORT, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 194
        TOPMARGIN, 7
        BOTTOMMARGIN, 192
    END

    IDD_XYSCALE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 179
        TOPMARGIN, 7
        BOTTOMMARGIN, 91
    END

    IDD_CALIBRATION, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 149
        TOPMARGIN, 7
        BOTTOMMARGIN, 118
    END

    IDD_CHART_BAR, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 594
        BOTTOMMARGIN, 24
    END

    IDD_ABOUTB, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 314
        TOPMARGIN, 7
        BOTTOMMARGIN, 157
    END
END
#endif    // APSTUDIO_INVOKED


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

STRINGTABLE DISCARDABLE 
BEGIN
    IDR_MAINFRAME           "ASEQ Spectra\n\nCheckT\n\n\nCheckTr.Document\nCheckT Document"
END

STRINGTABLE DISCARDABLE 
BEGIN
    AFX_IDS_APP_TITLE       "SpectraAq"
    AFX_IDS_IDLEMESSAGE     "Ready"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_INDICATOR_EXT        "EXT"
    ID_INDICATOR_CAPS       "CAP"
    ID_INDICATOR_NUM        "NUM"
    ID_INDICATOR_SCRL       "SCRL"
    ID_INDICATOR_OVR        "OVR"
    ID_INDICATOR_REC        "REC"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_FILE_NEW             "Create a new document\nNew"
    ID_FILE_OPEN            "Open an existing document\nOpen"
    ID_FILE_CLOSE           "Close the active document\nClose"
    ID_FILE_SAVE            "Save\nSave"
    ID_FILE_SAVE_AS         "Save the active document with a new name\nSave As"
    ID_FILE_PAGE_SETUP      "Change the printing options\nPage Setup"
    ID_FILE_PRINT_SETUP     "Change the printer and printing options\nPrint Setup"
    ID_FILE_PRINT           "Print the active document\nPrint"
    ID_FILE_PRINT_PREVIEW   "Display full pages\nPrint Preview"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_APP_ABOUT            "Display program information, version number and copyright\nAbout"
    ID_APP_EXIT             "Quit the application; prompts to save documents\nExit"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_FILE_MRU_FILE1       "Open this document"
    ID_FILE_MRU_FILE2       "Open this document"
    ID_FILE_MRU_FILE3       "Open this document"
    ID_FILE_MRU_FILE4       "Open this document"
    ID_FILE_MRU_FILE5       "Open this document"
    ID_FILE_MRU_FILE6       "Open this document"
    ID_FILE_MRU_FILE7       "Open this document"
    ID_FILE_MRU_FILE8       "Open this document"
    ID_FILE_MRU_FILE9       "Open this document"
    ID_FILE_MRU_FILE10      "Open this document"
    ID_FILE_MRU_FILE11      "Open this document"
    ID_FILE_MRU_FILE12      "Open this document"
    ID_FILE_MRU_FILE13      "Open this document"
    ID_FILE_MRU_FILE14      "Open this document"
    ID_FILE_MRU_FILE15      "Open this document"
    ID_FILE_MRU_FILE16      "Open this document"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_NEXT_PANE            "Switch to the next window pane\nNext Pane"
    ID_PREV_PANE            "Switch back to the previous window pane\nPrevious Pane"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_EDIT_CLEAR           "Erase the selection\nErase"
    ID_EDIT_CLEAR_ALL       "Erase everything\nErase All"
    ID_EDIT_COPY            "Copy the selection and put it on the Clipboard\nCopy"
    ID_EDIT_CUT             "Cut the selection and put it on the Clipboard\nCut"
    ID_EDIT_FIND            "Find the specified text\nFind"
    ID_EDIT_PASTE           "Insert Clipboard contents\nPaste"
    ID_EDIT_REPEAT          "Repeat the last action\nRepeat"
    ID_EDIT_REPLACE         "Replace specific text with different text\nReplace"
    ID_EDIT_SELECT_ALL      "Select the entire document\nSelect All"
    ID_EDIT_UNDO            "Undo the last action\nUndo"
    ID_EDIT_REDO            "Redo the previously undone action\nRedo"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_VIEW_TOOLBAR         "Show or hide the toolbar\nToggle ToolBar"
    ID_VIEW_STATUS_BAR      "Show or hide the status bar\nToggle StatusBar"
END

STRINGTABLE DISCARDABLE 
BEGIN
    AFX_IDS_SCSIZE          "Change the window size"
    AFX_IDS_SCMOVE          "Change the window position"
    AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
    AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
    AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
    AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
    AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
END

STRINGTABLE DISCARDABLE 
BEGIN
    AFX_IDS_SCRESTORE       "Restore the window to normal size"
    AFX_IDS_SCTASKLIST      "Activate Task List"
END

STRINGTABLE DISCARDABLE 
BEGIN
    AFX_IDS_PREVIEW_CLOSE   "Close print preview mode\nCancel Preview"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_MESSAGE              "settings\nsettings"
    ID_ZERRO                "00 comand"
    ID_ONE                  "01 comand"
    ID_TWO                  "02 comand"
    ID_THREE                "03 comand"
    ID_GETSPECK             "get one spectra"
    ID_RUNSPECK             "Run getting spectra\nRun"
    ID_READCOEFF            "Read coefficients"
    ID_SAVECOEFF            "Save coefficients"
    ID_SPEC_SAVE            "Save txt\nSave txt"
    ID_MOVE_ADDRESS         "Moove address counter"
    ID_DIRECTWRITE          "Choose connected spectrometer\nChoose spectrometer"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_BCKSUBSTR            "Substract background\nSubstract background"
    ID_GETBCK               "Get Background\nGet Background"
    ID_XAUTOSCALE           "x autoscale\nx autoscale"
    ID_YAUTOSCALE           "y autoscale\ny autoscale"
    ID_XYAUTOSCALE          "x and y autoscales\nx and y autoscales"
    ID_FAST                 "Fast Acquisition\nFast"
    ID_SETSCALE             "set scale\nscale"
    ID_GETSPECTRA           "Get source spectra\nGet source spectra"
    ID_BUTTON32797          "Load source spectra\nLoad source spectra"
    ID_LOADSOURCESPECTRA    "Load source spectra\nLoad source spectra"
    ID_OPEN                 "Load\nLoad spectra"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_CHOOSESPECTR         "Choose connected spectrometer\nChoose spectrometer"
    ID_BASELINE             "Baseline correction\nBaseline correction"
    ID_SAVE_CALIBRATION     "Save Calibration to file"
    ID_LOSD_CALIBRATION     "Load Calibration from file"
    ID_CALIBRATION_XYZPLANCKCALIBRATION "XYZ Planck calibration"
    ID_SAVESCREEN           "Save bmp\nSave bmp"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_SNAP                 "Snapshot\nSnapshot"
    ID_CLEARALL             "Clear All snapped and loaded spectra\nClear all"
    ID_TRIGGER              "Triggering settings\nTriggering settings"
END

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


/////////////////////////////////////////////////////////////////////////////
// English (Canada) resources

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

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

IDB_BITMAPPLANC         BITMAP  DISCARDABLE     "res\\PlanckianLocus.bmp"

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

IDD_SPECINIT DIALOG DISCARDABLE  0, 0, 222, 172
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
CAPTION "Spectrometer Initialization"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,81,151,50,14
    LISTBOX         IDC_LIST1,47,41,118,101,LBS_SORT | LBS_NOINTEGRALHEIGHT | 
                    WS_VSCROLL | WS_TABSTOP
    LTEXT           "detected several connected spectometers",IDC_MESSAGE1,
                    21,16,165,21
END

IDD_CONCENTRATION DIALOG DISCARDABLE  0, 0, 186, 117
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Concentration"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,129,7,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,129,24,50,14
    EDITTEXT        IDC_OPTLENGTH,23,21,40,14,ES_AUTOHSCROLL
    LTEXT           "cuvette optical length",IDC_STATIC,19,9,69,8
    EDITTEXT        IDC_MOLABS,23,57,40,14,ES_AUTOHSCROLL
    LTEXT           "molar absorptivity",IDC_STATIC,16,39,55,8
    EDITTEXT        IDC_WAVELENGTH,23,89,40,14,ES_AUTOHSCROLL
    LTEXT           "wavelength",IDC_STATIC,20,77,38,8
    LTEXT           "(extinction coefficient) of the absorber",IDC_STATIC,15,
                    48,119,8
    CONTROL         "Calculate concentration",IDC_CALCCONC,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,80,92,91,10
END

IDD_BASELINE DIALOG DISCARDABLE  0, 0, 186, 93
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Baseline correction dialog"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "Process",IDOK,129,7,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,129,24,50,14
    EDITTEXT        IDC_WINDOWSIZE,23,21,40,14,ES_AUTOHSCROLL
    LTEXT           "Window size",IDC_STATIC,19,9,41,8
    EDITTEXT        IDC_ITERATIONS,23,53,40,14,ES_AUTOHSCROLL
    LTEXT           "Iterations",IDC_STATIC,25,42,30,8
    CONTROL         "From loaded spectra",IDC_LOADED,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,83,49,80,10
    CONTROL         "From collected spectra",IDC_COLLECTED,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,83,65,87,10
END

IDD_THREEPOINTCLBR DIALOG DISCARDABLE  0, 0, 267, 136
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "3 points calibration"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,50,113,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,171,112,50,14
    LTEXT           "WARNING: It will re-write calibration coefficients",
                    IDC_MINXCP,63,15,142,8
    LTEXT           "old coefficients:",IDC_MINXCP2,35,31,64,8
    LTEXT           "new coefficients:",IDC_MINXCP3,177,31,62,8
    LTEXT           "old A=",IDC_OLDA,22,52,111,8
    LTEXT           "old B=",IDC_OLDB,22,70,111,8
    LTEXT           "old C=",IDC_OLDC2,22,89,111,8
    LTEXT           "new A=",IDC_NEWA,153,52,97,8
    LTEXT           "new B=",IDC_NEWB,153,70,97,8
    LTEXT           "new C=",IDC_NEWC2,153,89,97,8
END

IDD_TEMPERATURE DIALOG DISCARDABLE  0, 0, 172, 93
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Black body temperature"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,23,72,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,94,72,50,14
    EDITTEXT        IDC_TEMPERATURE,63,38,40,14,ES_AUTOHSCROLL
    LTEXT           "Black body temperature",IDC_STATIC,47,24,81,8
END

IDD_TRIGGER DIALOG DISCARDABLE  0, 0, 317, 183
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Trigger"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,76,162,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,187,162,50,14
    CONTROL         "trigger if above threshold",IDC_ONFALLEDGEOPT,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,178,81,93,10
    CONTROL         "trigger if below threshold",IDC_ONRISINGEDGEOPT,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,178,97,92,10
    CONTROL         "trigger on threshold",IDC_ONTHRHOPT,"Button",
                    BS_AUTOCHECKBOX | NOT WS_VISIBLE | WS_DISABLED | 
                    WS_TABSTOP,127,148,76,10
    CONTROL         "one time trigger if below threshold",
                    IDC_ONRISINGEDGEONETIMEOPT,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,178,112,121,10
    CONTROL         "one time trigger if above threshold",
                    IDC_ONFALLEDGEONETIMEOPT,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,178,128,122,10
    EDITTEXT        IDC_TRIGWLNGH,183,51,40,14,ES_AUTOHSCROLL
    LTEXT           "Wavelength for \n optical trigger",IDC_PIXEL,178,30,57,
                    19
    GROUPBOX        "Optical trigger",IDC_STATIC,169,14,133,144
    GROUPBOX        "Electrical External Trigger",IDC_STATIC,16,68,133,90
    CONTROL         "trigger on falling edge",IDC_ONFALLEDGEELECTR,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,23,83,83,10
    CONTROL         "External Trigger",IDC_EXTTRIG,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,19,30,65,10
    CONTROL         "trigger on falling and rising edge",
                    IDC_ONBOTHEDGESELECTR,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,23,115,115,10
    CONTROL         "one time trigger",IDC_ONETIMETRIGELECTR,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,24,144,64,10
    CONTROL         "No trigger",IDC_NOTRIG,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,19,12,47,10
    CONTROL         "trigger on rising edge",IDC_ONRISINGEDGEELECTR,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,23,99,81,10
    CONTROL         "Optical trigger",IDC_OPTTRIGG,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,19,48,59,10
    EDITTEXT        IDC_TRIGINT,247,50,40,14,ES_AUTOHSCROLL
    LTEXT           "Trigger intensity",IDC_PIXEL2,241,33,57,11
END


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

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE 
BEGIN
    IDD_SPECINIT, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 215
        TOPMARGIN, 7
        BOTTOMMARGIN, 165
    END

    IDD_CONCENTRATION, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 179
        TOPMARGIN, 7
        BOTTOMMARGIN, 110
    END

    IDD_BASELINE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 179
        TOPMARGIN, 7
        BOTTOMMARGIN, 86
    END

    IDD_THREEPOINTCLBR, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 260
        TOPMARGIN, 7
        BOTTOMMARGIN, 129
    END

    IDD_TEMPERATURE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 165
        TOPMARGIN, 7
        BOTTOMMARGIN, 86
    END

    IDD_TRIGGER, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 310
        TOPMARGIN, 7
        BOTTOMMARGIN, 176
    END
END
#endif    // APSTUDIO_INVOKED

#endif    // English (Canada) 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_ENU)
#ifdef _WIN32
LANGUAGE 9, 1
#pragma code_page(1252)
#endif //_WIN32
#include "res\CheckTr.rc2"  // non-Microsoft Visual C++ edited resources
#include "afxres.rc"         // Standard components
#include "afxprint.rc"       // printing/print preview resources
#endif

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

