//****************************************************************************
// File    : LOAN.RC
// Version : 0.01
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// IBM Internal Use Only 
// Copyright (c) IBM Corp. 1996          
// Developed by Nordic Business Fulfillment - Solutions Centre
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Purpose : 
//
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Vers     Date       Author    Comment                                  
// ----  ----------  ----------  ---------------------------------------------
// 0.01  1996-04-01  ALEXANDR    Created                                  
//****************************************************************************

//* Includes *****************************************************************
#include "loan.rch"

//* Icons   ******************************************************************
ICON FID_LOAN_MAIN       loan.ico
ICON ICON_LOAN           loan.ico
ICON ICON_LOAN_TEMPLATE  loantemp.ico

//* Bitmaps ******************************************************************
BITMAP TBB_NEW           loan.bmp
BITMAP TBB_HELP          help.bmp

//* String table *************************************************************
STRINGTABLE
  BEGIN
    //* Window texts *********************************************************
    FID_LOAN_MAIN          , "Loan - Version 1.01"
    FID_REPORT_NEW         , "Loan - Create new"
    FID_REPORT_OPEN        , "Loan - Country : %c - Period : %p"

    //* Special strings ******************************************************
    STR_REPORT_DIRECTORY   , "data"
                        
    STR_DENMARK            , "Denmark"
    STR_FINLAND            , "Finland"
    STR_NORWAY             , "Norway"
    STR_SWEDEN             , "Sweden"

    //* Help strings *********************************************************
    HID_HELPTABLE          , "Loan - Help"

    //* Toolbar & fly text's *************************************************
    TBB_NEW                , "New Report"
    TBB_HELP               , "Help"

    TBB_NEW  + OFFSET_LONGTEXT_ID, "Create a new repport"
    TBB_HELP + OFFSET_LONGTEXT_ID, "Display general help"

    //* Toolbar texts ********************************************************
    MI_DATACNR_MENU         , "Container"
    MI_DATACNR_VIEW         , "View"
    MI_DATACNR_ICONVIEW     , "Icon view"
    MI_DATACNR_NAMEVIEW     , "Name view"
    MI_DATACNR_SORT         , "Sort"
    MI_DATACNR_HELP         , "Help"

    MI_DATAOBJ_MENU         , "Report"
    MI_DATAOBJ_OPEN         , "Open"
    MI_DATAOBJ_SHOW         , "Show"
    MI_DATAOBJ_HELP         , "Help"
    MI_DATAOBJ_CREATE       , "Create new"
    MI_DATAOBJ_DELETE       , "Delete"
    MI_DATAOBJ_INVOICE      , "Invoice"
    MI_DATAOBJ_CONFIRM      , "Confirm"
    MI_DATAOBJ_AUTHORIZE    , "Authorize"

    //* Info texts ***********************************************************
    STR_INFOAREA_INACTIVE   , "Loan - press F1 for help"
    STR_INFOAREA_MISSING    , "Loan - press F1 for help"
    STR_INFOAREA_DISABLED   , "Menu choise disabled - selected action can "
                              "not be performed"

    SC_RESTORE     + OFFSET_INFOTEXT_ID, "Restore window"
    SC_MOVE        + OFFSET_INFOTEXT_ID, "Move window"
    SC_SIZE        + OFFSET_INFOTEXT_ID, "Resize window"
    SC_MINIMIZE    + OFFSET_INFOTEXT_ID, "Minimize window"
    SC_MAXIMIZE    + OFFSET_INFOTEXT_ID, "Maximize window"
    SC_HIDE        + OFFSET_INFOTEXT_ID, "Hide window"
    SC_CLOSE       + OFFSET_INFOTEXT_ID, "Close application"
    SC_TASKMANAGER + OFFSET_INFOTEXT_ID, "Display window list"

    MI_DATAOBJ_MENU      + OFFSET_INFOTEXT_ID, "Report menu"
    MI_DATAOBJ_OPEN      + OFFSET_INFOTEXT_ID, "Open report"
    MI_DATAOBJ_SHOW      + OFFSET_INFOTEXT_ID, "Show report"
    MI_DATAOBJ_HELP      + OFFSET_INFOTEXT_ID, "Help on container objects"
    MI_DATAOBJ_CREATE    + OFFSET_INFOTEXT_ID, "Create new report"
    MI_DATAOBJ_DELETE    + OFFSET_INFOTEXT_ID, "Delete report"
    MI_DATAOBJ_INVOICE   + OFFSET_INFOTEXT_ID, "Invoice report"
    MI_DATAOBJ_CONFIRM   + OFFSET_INFOTEXT_ID, "Confirm invoices"
    MI_DATAOBJ_AUTHORIZE + OFFSET_INFOTEXT_ID, "Authorize invoices"

    //* Controls *************************************************************

    //* Report notebook ******************************************************
    CID_NTB_CV_COUNTRY       , "Country"
    CID_NTB_CV_PERIOD        , "Period"
    CID_NTB_CV_SESSION       , "Session"
    CID_NTB_ST_YEAR          , "Year"
    CID_NTB_ST_MONTH         , "Month"
    CID_NTB_PB_FETCH         , "Fetch"
    CID_NTB_PB_INVOICE       , "Invoice"
    CID_NTB_PB_CONFIRM       , "Confirm"
    CID_NTB_PB_AUTHORIZE     , "Authorize"
    CID_NTB_PB_CLOSE         , "Close"     

    //* Container strings ****************************************************
    STR_REPORT_TEMPLATE      , "Report template"
    STR_REPORT_UNTITLED      , "Untitled"

    //* Report notebook strings **********************************************
    STR_NTB_SETTINGS_TAB  , "Settings"
    STR_NTB_REPORT_TAB    , "Report"
    STR_NTB_NO_SESSIONS   , "No sessions"

    STR_COUNTRY           , "CTY"
    STR_CUSTNO            , "CUSTNO"
    STR_LOANNO            , "LOANNO"
    STR_PERIOD            , "PERIOD"
    STR_DEBTBEF           , "DEBT BEFORE"
    STR_DEBTAFT           , "DEBT AFTER"
    STR_AMORTIZ           , "AMORTIZATION"
    STR_INTERST           , "INTEREST"      
    STR_AMOUNT            , "AMOUNT"
    STR_INV               , "INV"
    STR_CON               , "CON"
    STR_AUT               , "AUT"
    STR_DOCNO             , "DOCNO"

    MSG_REPORT_ALREADY_EXISTS_TITLE, "Report already exists"
    MSG_REPORT_ALREADY_EXISTS_TEXT , "Report '%c-%y-%m' already exists."
    MSG_FETCH_UNSUCCESFUL_TITLE    , "Fetch data unsuccesful"
    MSG_FETCH_UNSUCCESFUL_TEXT     , "Could not fetch data. Error code : %r."

    //* Shared texts *********************************************************
    DID_OK                 , "OK"
    DID_CANCEL             , "Cancel"
    DID_HELP_PB            , "Help"

  END

//* Help tables **************************************************************
HELPTABLE HID_HELPTABLE
  BEGIN
    HELPITEM FID_LOAN_MAIN           , HID_LOAN_MAIN            , 100
    HELPITEM FID_REPORT_NEW          , HID_REPORT_NEW           , 150
    HELPITEM FID_REPORT_NEW_SETTINGS , HID_REPORT_NEW_SETTINGS  , 160
    HELPITEM FID_REPORT_NEW_REPORT   , HID_REPORT_NEW_REPORT    , 170
    HELPITEM FID_REPORT_OPEN         , HID_REPORT_OPEN          , 200
    HELPITEM FID_REPORT_OPEN_SETTINGS, HID_REPORT_OPEN_SETTINGS , 210
    HELPITEM FID_REPORT_OPEN_REPORT  , HID_REPORT_OPEN_REPORT   , 220
  END

HELPSUBTABLE HID_LOAN_MAIN 
  BEGIN
    HELPSUBITEM FID_CLIENT           ,  101

    HELPSUBITEM MI_DATACNR_VIEW      ,  110
    HELPSUBITEM MI_DATACNR_ICONVIEW  ,  111
    HELPSUBITEM MI_DATACNR_NAMEVIEW  ,  112
    HELPSUBITEM MI_DATACNR_SORT      ,  113
    HELPSUBITEM MI_DATACNR_HELP      ,  114
    
    HELPSUBITEM MI_DATAOBJ_OPEN      ,  120
    HELPSUBITEM MI_DATAOBJ_SHOW      ,  121
    HELPSUBITEM MI_DATAOBJ_HELP      ,  122
    HELPSUBITEM MI_DATAOBJ_CREATE    ,  123
    HELPSUBITEM MI_DATAOBJ_DELETE    ,  124
    HELPSUBITEM MI_DATAOBJ_INVOICE   ,  125
    HELPSUBITEM MI_DATAOBJ_CONFIRM   ,  126
    HELPSUBITEM MI_DATAOBJ_AUTHORIZE ,  127
  END

HELPSUBTABLE HID_REPORT_NEW  
  BEGIN
    HELPSUBITEM CID_NTB_PB_FETCH     ,  151
    HELPSUBITEM DID_CANCEL           ,  152
    HELPSUBITEM DID_HELP_PB          ,  153
  END

HELPSUBTABLE HID_REPORT_NEW_SETTINGS
  BEGIN
    HELPSUBITEM CID_NTB_CB_COUNTRY   ,  161 
    HELPSUBITEM CID_NTB_SB_YEAR      ,  162
    HELPSUBITEM CID_NTB_SB_MONTH     ,  163
  END

HELPSUBTABLE HID_REPORT_NEW_REPORT  
  BEGIN
    HELPSUBITEM CID_NTB_MLE_REPORT   ,  171 
  END

HELPSUBTABLE HID_REPORT_OPEN 
  BEGIN
    HELPSUBITEM CID_NTB_PB_INVOICE   ,  201
    HELPSUBITEM CID_NTB_PB_CONFIRM   ,  202
    HELPSUBITEM CID_NTB_PB_AUTHORIZE ,  203
    HELPSUBITEM CID_NTB_PB_CLOSE     ,  204
    HELPSUBITEM DID_HELP_PB          ,  205
  END

HELPSUBTABLE HID_REPORT_OPEN_SETTINGS
  BEGIN
    HELPSUBITEM CID_NTB_CB_COUNTRY   ,  211
    HELPSUBITEM CID_NTB_SB_YEAR      ,  212
    HELPSUBITEM CID_NTB_SB_MONTH     ,  213
    HELPSUBITEM CID_NTB_CB_SESSION   ,  214
  END

HELPSUBTABLE HID_REPORT_OPEN_REPORT  
  BEGIN
    HELPSUBITEM CID_NTB_MLE_REPORT   ,  221
  END
