Created skeleton for notepad application.
[reactos.git] / rosapps / notepad / notepad.rc
1 #include <windows.h>
2 #include <reactos/resource.h>
3 #include "resource.h"
4
5
6 /////////////////////////////////////////////////////////////////////////////
7 // English (U.S.) resources
8
9 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
10 #ifdef _WIN32
11 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
12 #pragma code_page(1252)
13 #endif //_WIN32
14
15
16 /////////////////////////////////////////////////////////////////////////////
17 //
18 // Icon
19 //
20
21 // Icon with lowest ID value placed first to ensure application icon
22 // remains consistent on all systems.
23 IDI_NOTEPAD ICON DISCARDABLE "res/notepad.ico"
24 IDI_SMALL ICON DISCARDABLE "res/small.ico"
25
26
27 /////////////////////////////////////////////////////////////////////////////
28 //
29 // Bitmap
30 //
31
32
33 /////////////////////////////////////////////////////////////////////////////
34 //
35 // Menu
36 //
37
38 IDC_NOTEPAD MENU DISCARDABLE
39 BEGIN
40 POPUP "&File"
41 BEGIN
42 MENUITEM "E&xit", ID_FILE_EXIT
43 END
44 POPUP "&Help"
45 BEGIN
46 MENUITEM "&About ...", ID_HELP_ABOUT
47 END
48 END
49
50 IDR_NOTEPAD_MENU MENU DISCARDABLE
51 BEGIN
52 POPUP "&File"
53 BEGIN
54 MENUITEM "&New\tCtrl+N", ID_FILE_NEW
55 MENUITEM "&Open...\tCtrl+O", ID_FILE_OPEN
56 MENUITEM "&Save\tCtrl+S", ID_FILE_SAVE
57 MENUITEM "Save &As...", ID_FILE_SAVEAS
58 MENUITEM SEPARATOR
59 MENUITEM "Page Set&up", ID_FILE_PAGESETUP, GRAYED
60 MENUITEM "&Print\tCtrl+P", ID_FILE_PRINT, GRAYED
61 MENUITEM SEPARATOR
62 MENUITEM "E&xit", ID_FILE_EXIT
63 END
64 POPUP "&Edit"
65 BEGIN
66 MENUITEM "&Undo", ID_EDIT_UNDO, GRAYED
67 MENUITEM SEPARATOR
68 MENUITEM "Cu&t\tCtrl+X", ID_EDIT_CUT
69 MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY
70 MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE
71 MENUITEM "De&lete\tDel", ID_EDIT_DELETE
72 MENUITEM SEPARATOR
73 MENUITEM "&Find...\tCtrl+F", ID_EDIT_FIND, GRAYED
74 MENUITEM "Find Ne&xt\tF3", ID_EDIT_FINDNEXT, GRAYED
75 MENUITEM "&Replace...\tCtrl+H", ID_EDIT_REPLACE, GRAYED
76 MENUITEM "&Go To...\tCtrl+G", ID_EDIT_GOTO, GRAYED
77 MENUITEM SEPARATOR
78 MENUITEM "Select &All..\tCtrl+A", ID_EDIT_SELECTALL
79 MENUITEM "Time/&Date...\tF5", ID_EDIT_TIMEDATE
80 END
81 POPUP "&View"
82 BEGIN
83 MENUITEM "&Status Bar", ID_VIEW_STATUSBAR, GRAYED
84 MENUITEM "&Tool Bar", ID_VIEW_TOOLBAR, GRAYED
85 MENUITEM SEPARATOR
86 MENUITEM "&Refresh\tF5", ID_VIEW_REFRESH, GRAYED
87 END
88 POPUP "F&ormat"
89 BEGIN
90 MENUITEM "&Word Wrap", ID_FORMAT_WORDWRAP, GRAYED
91 MENUITEM "&Font...", ID_FORMAT_FONT
92 END
93 POPUP "&Help"
94 BEGIN
95 MENUITEM "&Help Topics", ID_HELP_HELPTOPICS
96 MENUITEM SEPARATOR
97 MENUITEM "&About Notepad", ID_HELP_ABOUT
98 END
99 END
100
101
102 /////////////////////////////////////////////////////////////////////////////
103 //
104 // Dialog
105 //
106
107 IDD_ABOUTBOX DIALOG DISCARDABLE 22, 17, 230, 75
108 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
109 CAPTION "About"
110 FONT 8, "System"
111 BEGIN
112 ICON IDI_NOTEPAD,IDI_NOTEPAD,14,9,16,16
113 LTEXT "ReactOS Notepad Version 1.0",IDC_STATIC,49,10,119,8,
114 SS_NOPREFIX
115 LTEXT "Copyright (C) 2002 ReactOS Team",IDC_STATIC,49,20,119,8
116 DEFPUSHBUTTON "OK",IDOK,195,6,30,11,WS_GROUP
117 END
118
119 IDD_DIALOG1 DIALOG DISCARDABLE 50, 50, 268, 98
120 STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS |
121 WS_BORDER
122 FONT 8, "MS Sans Serif"
123 BEGIN
124 END
125
126 IDD_DIALOG2 DIALOG DISCARDABLE 0, 0, 187, 95
127 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
128 CAPTION "Dialog"
129 FONT 8, "MS Sans Serif"
130 BEGIN
131 DEFPUSHBUTTON "OK",IDOK,130,7,50,14
132 PUSHBUTTON "Cancel",IDCANCEL,130,24,50,14
133 END
134
135
136 /////////////////////////////////////////////////////////////////////////////
137 //
138 // Version
139 //
140
141 (1) VERSIONINFO
142 FILEVERSION 0,0,21,3
143 PRODUCTVERSION 0,0,21,0
144 FILEFLAGSMASK 0x3fL
145 #ifdef _DEBUG
146 FILEFLAGS 0x1L
147 #else
148 FILEFLAGS 0x0L
149 #endif
150 FILEOS 0x40004L
151 FILETYPE 0x1L
152 FILESUBTYPE 0x0L
153 BEGIN
154 BLOCK "StringFileInfo"
155 BEGIN
156 BLOCK "040904b0"
157 BEGIN
158 VALUE "Comments", "Absolutely no warranties whatsoever - Use at your own risk\0"
159 VALUE "CompanyName", "ReactOS Development Team\0"
160 VALUE "FileDescription", "ReactOS Notepad by Robert Dickenson\0"
161 VALUE "FileVersion", "1, 0, 0, 1\0"
162 VALUE "InternalName", "notepad\0"
163 VALUE "LegalCopyright", "Copyright © 2002 Robert Dickenson\0"
164 VALUE "LegalTrademarks", "\0"
165 VALUE "OriginalFilename", "notepad.exe\0"
166 VALUE "PrivateBuild", "\0"
167 VALUE "ProductName", "ReactOS Operating System\0"
168 VALUE "ProductVersion", "0.0.21\0"
169 VALUE "SpecialBuild", "Non-versioned Development Beta Release\0"
170 END
171 END
172 BLOCK "VarFileInfo"
173 BEGIN
174 VALUE "Translation", 0xc09, 1200
175 END
176 END
177
178
179 /////////////////////////////////////////////////////////////////////////////
180 //
181 // String Table
182 //
183
184 STRINGTABLE DISCARDABLE
185 BEGIN
186 IDS_APP_TITLE "ReactOS Notepad"
187 IDC_NOTEPAD "NOTEPAD"
188 IDC_NOTEPAD_FRAME "NOTEPAD_FRAME"
189 END
190
191 STRINGTABLE DISCARDABLE
192 BEGIN
193 ID_FILE_MENU "Contains commands for loading and saving files"
194 ID_EDIT_MENU "Contains commands for editing the current text"
195 ID_VIEW_MENU "Contains commands for manipulating notepad's options"
196 ID_FORMAT_MENU "Contains commands for customising the look of the text"
197 ID_HELP_MENU "Contains commands for displaying help and information about notepad"
198 END
199
200 STRINGTABLE DISCARDABLE
201 BEGIN
202 ID_FILE_NEW "Creates and empty un-named text buffer"
203 ID_FILE_OPEN "Opens a text file into notepads buffer"
204 ID_FILE_SAVE "Saves the current text buffer to file"
205 ID_FILE_SAVEAS "Saves the current text buffer to a new file"
206 ID_FILE_PAGESETUP "Modify the setup options for printing the text"
207 ID_FILE_PRINT "Prints all or part of the current text buffer"
208 ID_HELP_HELPTOPICS "Opens notepad help"
209 ID_HELP_ABOUT "Displays program information, version number and copyright"
210 ID_FILE_EXIT "Quits this notepad text editor"
211 END
212
213 STRINGTABLE DISCARDABLE
214 BEGIN
215 ID_EDIT_UNDO "Undo the last buffer editing operation performed"
216 ID_EDIT_CUT "Removes the selected text and places it on the clipboard"
217 ID_EDIT_COPY "Copies the selected text to the clipboard"
218 ID_EDIT_PASTE "Pastes the contents of the clipboard at the cursor location"
219 ID_EDIT_DELETE "Deletes the selected text"
220 ID_EDIT_FIND "Finds a text string in the buffer"
221 ID_EDIT_FINDNEXT "Finds next occurrence of text specified in previous search"
222 ID_EDIT_GOTO "Jump to specified line number in buffer"
223 ID_EDIT_SELECTALL "Selects the entire text buffer"
224 ID_EDIT_TIMEDATE "Inserts the current date and time at the cursor location"
225 ID_VIEW_STATUSBAR "Shows or hides the status bar"
226 ID_VIEW_TOOLBAR "Shows or hides the tool bar"
227 ID_VIEW_SPLIT "Change position of split between two panes"
228 ID_VIEW_REFRESH "Refreshes the text buffer from it's file"
229 ID_FORMAT_WORDWRAP "Toggles word-wrap display mode"
230 ID_FORMAT_FONT "Select font for displaying and printing buffer text"
231 END
232
233 #endif // English (U.S.) resources
234 /////////////////////////////////////////////////////////////////////////////
235
236
237 /////////////////////////////////////////////////////////////////////////////
238 // English (Australia) resources
239
240 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENA)
241 #ifdef _WIN32
242 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_AUS
243 #pragma code_page(1252)
244 #endif //_WIN32
245
246 /////////////////////////////////////////////////////////////////////////////
247 //
248 // String Table
249 //
250
251 STRINGTABLE DISCARDABLE
252 BEGIN
253 ID_HELP_HELPTOPICS "Opens Registry Editor Help."
254 ID_HELP_ABOUT "Displays program information, version number, and copyright."
255 END
256
257 #endif // English (Australia) resources
258 /////////////////////////////////////////////////////////////////////////////
259