-
Notifications
You must be signed in to change notification settings - Fork 0
/
notepad.rc
47 lines (40 loc) · 1.24 KB
/
notepad.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* Lev Panov, 2057/2, October 2010 */
#include "notepad_res.h"
MAIN_MENU MENU
{
POPUP "&File"
{
MENUITEM "&New\tCtrl+N", CMD_NEW
MENUITEM "&Open...\tCtrl+O", CMD_OPEN
MENUITEM "&Save\tCtrl+S", CMD_SAVE
MENUITEM "Save &as...\tCtrl+Shift+S", CMD_SAVE_AS
MENUITEM SEPARATOR
MENUITEM "E&xit\tCtrl+X", CMD_EXIT
}
POPUP "&Edit"
{
MENUITEM "&Wrap long lines\tCtrl+W", CMD_WRAP
}
}
ID_ACCEL ACCELERATORS
{
"^N", CMD_NEW
"^O", CMD_OPEN
"^S", CMD_SAVE
"^S", CMD_SAVE_AS, SHIFT
"^X", CMD_EXIT
"^W", CMD_WRAP
VK_HOME, CMD_TEXT_HOME, VIRTKEY, CONTROL
VK_END, CMD_TEXT_END, VIRTKEY, CONTROL
}
STRINGTABLE
{
STRING_NOTEPAD, "Notepad"
STRING_ERROR, "ERROR"
STRING_UNTITLED, "Untitled"
STRING_ALL_FILES, "All files (*.*)"
STRING_TEXT_FILES_TXT, "Text files (*.txt)"
STRING_DOESNOTEXIST, "File '%s' does not exist.\n\nDo you want to create a new file?"
STRING_NOTSAVED, "File '%s' has been modified.\n\nWould you like to save the changes?"
STRING_NOTFOUND, "'%s' could not be found."
}