#include "resource.h"
#include <windows.h>

#define REACTOS_STR_FILE_DESCRIPTION	"ReactOS MDI Sample Application by Robert Dickenson\0"
#define REACTOS_STR_INTERNAL_NAME	"mdi\0"
#define REACTOS_STR_ORIGINAL_FILENAME	"mdi.exe\0"
#define REACTOS_STR_ORIGINAL_COPYRIGHT	"Copyright © 2002 Robert Dickenson\0"
#include <reactos/version.rc>

LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL

/* Icons */
IDI_MDI_APP	ICON    DISCARDABLE     "res/mdi.ico"
IDI_SMALL	ICON    DISCARDABLE     "res/small.ico"

/* Bitmaps */
IDB_TOOLBAR	BITMAP	DISCARDABLE     "res/toolbar.bmp"
IDB_IMAGES	BITMAP  DISCARDABLE     "res/images.bmp"

IDC_MDI_APP MENU DISCARDABLE
BEGIN
    POPUP "&File"
    BEGIN
        MENUITEM "&Open\tEnter",                ID_FILE_OPEN
        MENUITEM SEPARATOR
        MENUITEM "&Run...\t",                   ID_FILE_RUN, GRAYED
        MENUITEM "&Print...\t",                 ID_FILE_PRINT, GRAYED
        MENUITEM SEPARATOR
        MENUITEM "E&xit",                       ID_FILE_EXIT
    END
    POPUP "&Options"
    BEGIN
        MENUITEM "&Confirmation...",            ID_OPTIONS_CONFIRMATION, GRAYED
        MENUITEM "&Font...",                    ID_OPTIONS_FONT, GRAYED
        MENUITEM "Customise Tool&bar...",       ID_OPTIONS_CUSTOMISE_TOOLBAR, GRAYED
        MENUITEM SEPARATOR
        MENUITEM "&Toolbar",                    ID_OPTIONS_TOOLBAR
        MENUITEM "&Statusbar",                  ID_OPTIONS_STATUSBAR
        MENUITEM SEPARATOR
        MENUITEM "&Save Settings on Exit",      ID_OPTIONS_SAVE_ON_EXIT, GRAYED
    END
    POPUP "&Window"
    BEGIN
        MENUITEM "&New Window",                 ID_WINDOW_NEW_WINDOW
        MENUITEM "&Cascade\tShift+F5",          ID_WINDOW_CASCADE
        MENUITEM "Tile &Horizontally",          ID_WINDOW_TILE_HORZ
        MENUITEM "&Tile Vertically\tShift+F4",  ID_WINDOW_TILE_VERT
        MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE_ICONS
        MENUITEM "&Refresh\tF5",                ID_WINDOW_REFRESH
//        MENUITEM SEPARATOR
    END
    POPUP "&Help"
    BEGIN
        MENUITEM "&Contents",                   ID_HELP_CONTENTS, GRAYED
        MENUITEM "&Search for Help on...",      ID_HELP_SEARCH_HELP, GRAYED
        MENUITEM "&How to Use Help",            ID_HELP_HOW_TO_USE_HELP, GRAYED
        MENUITEM SEPARATOR
        MENUITEM "&About MDI Application",      ID_HELP_ABOUT
    END
END

IDD_DIALOG1 DIALOGEX DISCARDABLE  0, 0, 186, 95
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Dialog"
FONT 8, "MS Shell Dlg"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,129,7,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,129,24,50,14
END

IDD_ABOUTBOX DIALOGEX DISCARDABLE  22, 17, 230, 75
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "About"
FONT 8, "MS Shell Dlg"
BEGIN
    ICON            IDI_MDI_APP,IDI_MDI_APP,14,9,16,16
    LTEXT           "ReactOS MDI Template Application Version 1.0",IDC_STATIC,49,10,119,8,
                    SS_NOPREFIX
    LTEXT           "Copyright (C) 2002 ReactOS Team",IDC_STATIC,49,20,119,8
    DEFPUSHBUTTON   "OK",IDOK,195,6,30,11,WS_GROUP
END

STRINGTABLE DISCARDABLE
BEGIN
    IDS_APP_TITLE           "ReactOS Application"

    ID_FILE_MENU            "Commands for working with files"
    ID_OPTIONS_MENU         "Commands for setting options"
    ID_WINDOW_MENU          "Commands for manipulating windows"
    ID_HELP_MENU            "Commands for displaying help and information about application"

    ID_FILE_OPEN            "Opens a new application window"
    ID_FILE_RUN             "Runs an external application"
    ID_FILE_PRINT           "Prints the contents of the application window"
    ID_FILE_EXIT            "Quits the application"

    ID_OPTIONS_CONFIRMATION      "Controls confirmation messages..."
    ID_OPTIONS_FONT              "Changes the Application Font..."
    ID_OPTIONS_CUSTOMISE_TOOLBAR "Customises the toolbar..."
    ID_OPTIONS_TOOLBAR           "Shows or hides the tool bar"
    ID_OPTIONS_STATUSBAR         "Shows or hides the status bar"
    ID_OPTIONS_SAVE_ON_EXIT      "Saves settings when exiting application"

    ID_VIEW_SPLIT           "Change position of split between two panes"

    ID_WINDOW_NEW_WINDOW    "Opens a new window"
    ID_WINDOW_CASCADE       "Cascades windows"
    ID_WINDOW_TILE_HORZ     "Tiles windows horizontally"
    ID_WINDOW_TILE_VERT     "Tiles windows vertically"
    ID_WINDOW_ARRANGE_ICONS "Arranges icons"
    ID_WINDOW_REFRESH       "Updates the contents of a window"

    ID_HELP_CONTENTS        "Displays contents for Application Help"
    ID_HELP_SEARCH_HELP     "Searches for a topic in Application Help"
    ID_HELP_HOW_TO_USE_HELP "Displays information about using help"
    ID_HELP_ABOUT           "Displays program information, version number and copyright"

    IDC_MDI_APP             "MDI_APP"
    IDC_MDI_APP_CHILD       "MDI_APP_CHILD"
END