xref: /reactos/modules/rosapps/templates/mdi/mdi.rc (revision c2c66aff)
1#include "resource.h"
2#include <windows.h>
3
4#define REACTOS_STR_FILE_DESCRIPTION	"ReactOS MDI Sample Application by Robert Dickenson\0"
5#define REACTOS_STR_INTERNAL_NAME	"mdi\0"
6#define REACTOS_STR_ORIGINAL_FILENAME	"mdi.exe\0"
7#define REACTOS_STR_ORIGINAL_COPYRIGHT	"Copyright © 2002 Robert Dickenson\0"
8#include <reactos/version.rc>
9
10LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
11
12/* Icons */
13IDI_MDI_APP	ICON    DISCARDABLE     "res/mdi.ico"
14IDI_SMALL	ICON    DISCARDABLE     "res/small.ico"
15
16/* Bitmaps */
17IDB_TOOLBAR	BITMAP	DISCARDABLE     "res/toolbar.bmp"
18IDB_IMAGES	BITMAP  DISCARDABLE     "res/images.bmp"
19
20IDC_MDI_APP MENU DISCARDABLE
21BEGIN
22    POPUP "&File"
23    BEGIN
24        MENUITEM "&Open\tEnter",                ID_FILE_OPEN
25        MENUITEM SEPARATOR
26        MENUITEM "&Run...\t",                   ID_FILE_RUN, GRAYED
27        MENUITEM "&Print...\t",                 ID_FILE_PRINT, GRAYED
28        MENUITEM SEPARATOR
29        MENUITEM "E&xit",                       ID_FILE_EXIT
30    END
31    POPUP "&Options"
32    BEGIN
33        MENUITEM "&Confirmation...",            ID_OPTIONS_CONFIRMATION, GRAYED
34        MENUITEM "&Font...",                    ID_OPTIONS_FONT, GRAYED
35        MENUITEM "Customise Tool&bar...",       ID_OPTIONS_CUSTOMISE_TOOLBAR, GRAYED
36        MENUITEM SEPARATOR
37        MENUITEM "&Toolbar",                    ID_OPTIONS_TOOLBAR
38        MENUITEM "&Statusbar",                  ID_OPTIONS_STATUSBAR
39        MENUITEM SEPARATOR
40        MENUITEM "&Save Settings on Exit",      ID_OPTIONS_SAVE_ON_EXIT, GRAYED
41    END
42    POPUP "&Window"
43    BEGIN
44        MENUITEM "&New Window",                 ID_WINDOW_NEW_WINDOW
45        MENUITEM "&Cascade\tShift+F5",          ID_WINDOW_CASCADE
46        MENUITEM "Tile &Horizontally",          ID_WINDOW_TILE_HORZ
47        MENUITEM "&Tile Vertically\tShift+F4",  ID_WINDOW_TILE_VERT
48        MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE_ICONS
49        MENUITEM "&Refresh\tF5",                ID_WINDOW_REFRESH
50//        MENUITEM SEPARATOR
51    END
52    POPUP "&Help"
53    BEGIN
54        MENUITEM "&Contents",                   ID_HELP_CONTENTS, GRAYED
55        MENUITEM "&Search for Help on...",      ID_HELP_SEARCH_HELP, GRAYED
56        MENUITEM "&How to Use Help",            ID_HELP_HOW_TO_USE_HELP, GRAYED
57        MENUITEM SEPARATOR
58        MENUITEM "&About MDI Application",      ID_HELP_ABOUT
59    END
60END
61
62IDD_DIALOG1 DIALOGEX DISCARDABLE  0, 0, 186, 95
63STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
64CAPTION "Dialog"
65FONT 8, "MS Shell Dlg"
66BEGIN
67    DEFPUSHBUTTON   "OK",IDOK,129,7,50,14
68    PUSHBUTTON      "Cancel",IDCANCEL,129,24,50,14
69END
70
71IDD_ABOUTBOX DIALOGEX DISCARDABLE  22, 17, 230, 75
72STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
73CAPTION "About"
74FONT 8, "MS Shell Dlg"
75BEGIN
76    ICON            IDI_MDI_APP,IDI_MDI_APP,14,9,16,16
77    LTEXT           "ReactOS MDI Template Application Version 1.0",IDC_STATIC,49,10,119,8,
78                    SS_NOPREFIX
79    LTEXT           "Copyright (C) 2002 ReactOS Team",IDC_STATIC,49,20,119,8
80    DEFPUSHBUTTON   "OK",IDOK,195,6,30,11,WS_GROUP
81END
82
83STRINGTABLE DISCARDABLE
84BEGIN
85    IDS_APP_TITLE           "ReactOS Application"
86
87    ID_FILE_MENU            "Commands for working with files"
88    ID_OPTIONS_MENU         "Commands for setting options"
89    ID_WINDOW_MENU          "Commands for manipulating windows"
90    ID_HELP_MENU            "Commands for displaying help and information about application"
91
92    ID_FILE_OPEN            "Opens a new application window"
93    ID_FILE_RUN             "Runs an external application"
94    ID_FILE_PRINT           "Prints the contents of the application window"
95    ID_FILE_EXIT            "Quits the application"
96
97    ID_OPTIONS_CONFIRMATION      "Controls confirmation messages..."
98    ID_OPTIONS_FONT              "Changes the Application Font..."
99    ID_OPTIONS_CUSTOMISE_TOOLBAR "Customises the toolbar..."
100    ID_OPTIONS_TOOLBAR           "Shows or hides the tool bar"
101    ID_OPTIONS_STATUSBAR         "Shows or hides the status bar"
102    ID_OPTIONS_SAVE_ON_EXIT      "Saves settings when exiting application"
103
104    ID_VIEW_SPLIT           "Change position of split between two panes"
105
106    ID_WINDOW_NEW_WINDOW    "Opens a new window"
107    ID_WINDOW_CASCADE       "Cascades windows"
108    ID_WINDOW_TILE_HORZ     "Tiles windows horizontally"
109    ID_WINDOW_TILE_VERT     "Tiles windows vertically"
110    ID_WINDOW_ARRANGE_ICONS "Arranges icons"
111    ID_WINDOW_REFRESH       "Updates the contents of a window"
112
113    ID_HELP_CONTENTS        "Displays contents for Application Help"
114    ID_HELP_SEARCH_HELP     "Searches for a topic in Application Help"
115    ID_HELP_HOW_TO_USE_HELP "Displays information about using help"
116    ID_HELP_ABOUT           "Displays program information, version number and copyright"
117
118    IDC_MDI_APP             "MDI_APP"
119    IDC_MDI_APP_CHILD       "MDI_APP_CHILD"
120END