//******************************************************************************
//
//  File name   : SPL2FILE.RC
//
//  Description : This resource file contains string table and dialog
//                template definitions.
//
//  FUNCTIONS:
//
//  COMMENTS:
//
//  Copyright  (C) 1993, 1996 IBM Corporation
//                        All rights reserved.
//
//******************************************************************************
#include "windows.h"
#include "spl2file.h"

SPICON  ICON spl2file.ico

SPMENU MENU
BEGIN
  POPUP   "&Help"
  BEGIN
    MENUITEM "&About Spl2File ...",    ID_ABOUT
  END
END

STRINGTABLE
BEGIN
  LS_ERROR1_TEXT,      "Spl2File for the session (%s) has been already loaded."
  LS_ERROR2_TEXT,      "Failed to register the class of the session (%s)."
  LS_ERROR3_TEXT,      "Not the correct scrren."
  LS_ERROR4_TEXT,      "Cannot open the file."
  LS_TITLE_TEXT,       "Spl2File V2.00 - (%s)"
  LS_DDE_TOKENS,       "5250Menu MenuBar MenuMap SPOOL ZCONFG ABOUT"
  LS_16STR_FORMAT,     "%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s"
  LS_ABORT_TITLEF,     "Convert a spool file"
  LS_OPTIONS_TAG,      "OPTS"
END

ABOUTBOX DIALOG DISCARDABLE  22, 17, 160, 68
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "About Spl2File"
BEGIN
    ICON            SPICON,ID_IGNORE,5,5,20,24
    LTEXT           "Spl2File PC5250 DDE Sample Program",ID_IGNORE,34,5,150,10,
                    NOT WS_GROUP
    LTEXT           " Version: 2.00",ID_IGNORE,34,15,150,10,NOT WS_GROUP
    LTEXT           "© Copyright IBM Corp. 1993,1996", ID_IGNORE, 34, 25, 150,
                    10,NOT WS_GROUP
    LTEXT           "           All rights reserved.", ID_IGNORE, 34,35,150,10,NOT WS_GROUP
    DEFPUSHBUTTON   "&OK",IDOK,50,50,60,15,NOT WS_TABSTOP
END

ABORTBOX DIALOG 22, 17, 200,  60
STYLE WS_DLGFRAME | WS_BORDER | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
CAPTION ""
BEGIN
  CONTROL "Select Cancel key to stop conversion.",        ID_IGNORE,  "static", SS_CENTER          | WS_CHILD,   5,  15,  190,  10
  CONTROL "&Cancel"                                       IDCANCEL,   "button", BS_DEFPUSHBUTTON   | WS_CHILD,  75,  30,   50,  20
END

PCFILENAME DIALOG LOADONCALL MOVEABLE DISCARDABLE 112, 55, 170, 70
CAPTION "Input PC file name"
STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME | WS_POPUP
BEGIN
  CONTROL "Enter PC file name:",                ID_IGNORE, "static", SS_LEFT                          | WS_CHILD,  10,  10, 135,  8
  CONTROL "",                                   ID_EDIT1,  "edit",   ES_LEFT | WS_BORDER | WS_TABSTOP | WS_CHILD,  10,  25, 150, 12
  CONTROL "&OK",                                IDOK,      "button", BS_DEFPUSHBUTTON    | WS_TABSTOP | WS_CHILD,  20,  50,  40, 15
  CONTROL "&Cancel",                            IDCANCEL,  "button", BS_PUSHBUTTON       | WS_TABSTOP | WS_CHILD, 110,  50,  40, 15
END

SPOPTS DIALOG LOADONCALL MOVEABLE DISCARDABLE 116, 50, 170, 90
CAPTION "Setup options  Session - "
STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME | WS_POPUP
BEGIN
  CONTROL "&Display Icon",                       ID_CHECKBOX1, "button", BS_AUTOCHECKBOX      | WS_TABSTOP | WS_CHILD,  10,  10, 150, 12
  CONTROL "&Remove SO/SI characters",            ID_IGNORE,    "static", SS_LEFT                           | WS_CHILD,  10,  35,  90, 10
  CONTROL "&Yes",                                ID_RADIO1,    "button", BS_RADIOBUTTON       | WS_TABSTOP | WS_CHILD, 105,  32,  40, 12
  CONTROL "&No",                                 ID_RADIO2,    "button", BS_RADIOBUTTON       | WS_TABSTOP | WS_CHILD, 105,  47,  40, 12
  CONTROL "&OK",                                 IDOK,         "button", BS_PUSHBUTTON        | WS_TABSTOP | WS_CHILD,  25,  68,  35, 15
  CONTROL "&Cancel",                             IDCANCEL,     "button", BS_PUSHBUTTON        | WS_TABSTOP | WS_CHILD, 110,  68,  35, 15
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 "CompanyName", "\0"
            VALUE "FileDescription", "SPL2FILE MFC Application\0"
            VALUE "FileVersion", "1, 0, 0, 1\0"
            VALUE "InternalName", "SPL2FILE\0"
            VALUE "LegalCopyright", "Copyright © 1997\0"
            VALUE "LegalTrademarks", "\0"
            VALUE "OriginalFilename", "SPL2FILE.EXE\0"
            VALUE "ProductName", "SPL2FILE Application\0"
            VALUE "ProductVersion", "1, 0, 0, 1\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END

#endif    // !_MAC



