1 /*
2  *  Constants, used in resources.
3  *
4  *  Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
5  *  Copyright 2002 Andriy Palamarchuk
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
20  */
21 
22 #pragma once
23 
24 #define MAIN_MENU        0x201
25 #define DIALOG_PAGESETUP 0x202
26 #define ID_ACCEL         0x203
27 #define DIALOG_ENCODING  0x204
28 #define ID_ENCODING      0x205
29 #define ID_EOLN          0x206
30 #define DIALOG_GOTO      0x207
31 #define ID_LINENUMBER    0x208
32 #define IDI_NPICON       0x209
33 #define IDC_LICENSE      0x20A
34 
35 /* Commands */
36 #define CMD_NEW        0x100
37 #define CMD_OPEN       0x101
38 #define CMD_SAVE       0x102
39 #define CMD_SAVE_AS    0x103
40 #define CMD_PRINT      0x104
41 #define CMD_PAGE_SETUP 0x105
42 #define CMD_EXIT       0x108
43 
44 #define CMD_UNDO       0x110
45 #define CMD_CUT        0x111
46 #define CMD_COPY       0x112
47 #define CMD_PASTE      0x113
48 #define CMD_DELETE     0x114
49 #define CMD_SELECT_ALL 0x116
50 #define CMD_TIME_DATE  0x117
51 
52 #define CMD_SEARCH      0x120
53 #define CMD_SEARCH_NEXT 0x121
54 #define CMD_REPLACE     0x122
55 #define CMD_GOTO        0x123
56 
57 #define CMD_WRAP 0x119
58 #define CMD_FONT 0x140
59 
60 #define CMD_STATUSBAR        0x150
61 #define CMD_STATUSBAR_WND_ID 0x151
62 
63 #define CMD_HELP_CONTENTS 0x130
64 #define CMD_HELP_ABOUT_NOTEPAD    0x135
65 
66 /* Strings */
67 #define STRING_PAGESETUP_HEADERVALUE 0x160
68 #define STRING_PAGESETUP_FOOTERVALUE 0x161
69 #define STRING_PAGESETUP_LEFTVALUE   0x162
70 #define STRING_PAGESETUP_RIGHTVALUE  0x163
71 #define STRING_PAGESETUP_TOPVALUE    0x164
72 #define STRING_PAGESETUP_BOTTOMVALUE 0x165
73 
74 #define STRING_NOTEPAD        0x170
75 #define STRING_ERROR          0x171
76 #define STRING_WARNING        0x172
77 #define STRING_INFO           0x173
78 #define STRING_UNTITLED       0x174
79 #define STRING_ALL_FILES      0x175
80 #define STRING_TEXT_FILES_TXT 0x176
81 #define STRING_TOOLARGE       0x177
82 #define STRING_NOTEXT         0x178
83 #define STRING_DOESNOTEXIST   0x179
84 #define STRING_NOTSAVED       0x17A
85 
86 #define STRING_NOTFOUND      0x17B
87 #define STRING_OUT_OF_MEMORY 0x17C
88 #define STRING_CANNOTFIND    0x17D
89 
90 #define STRING_ANSI       0x17E
91 #define STRING_UNICODE    0x17F
92 #define STRING_UNICODE_BE 0x180
93 #define STRING_UTF8       0x181
94 
95 #define STRING_CRLF 0x182
96 #define STRING_LF   0x183
97 #define STRING_CR   0x184
98 
99 #define STRING_LINE_COLUMN 0x186
100 #define STRING_PRINTERROR  0x187
101 
102 #define STRING_TEXT_DOCUMENT  0x200
103 
104 #define STRING_NOTEPAD_AUTHORS 0x300
105