push ca931951dc5f3f050707cce013d2412130f45f11
[wine/hacks.git] / programs / notepad / notepad_res.h
blob5428c0dc554caa05204d873c63126d1cf0285b38
1 /*
2 * Constants, used in resources.
4 * Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
5 * Copyright 2002 Andriy Palamarchuk
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.
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.
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 St, Fifth Floor, Boston, MA 02110-1301, USA
22 #include <windef.h>
23 #include <winuser.h>
25 #define MAIN_MENU 0x201
26 #define DIALOG_PAGESETUP 0x202
27 #define ID_ACCEL 0x203
29 #define IDI_NOTEPAD 0x300
31 /* Commands */
32 #define CMD_NEW 0x100
33 #define CMD_OPEN 0x101
34 #define CMD_SAVE 0x102
35 #define CMD_SAVE_AS 0x103
36 #define CMD_PRINT 0x104
37 #define CMD_PAGE_SETUP 0x105
38 #define CMD_PRINTER_SETUP 0x106
39 #define CMD_EXIT 0x108
41 #define CMD_UNDO 0x110
42 #define CMD_CUT 0x111
43 #define CMD_COPY 0x112
44 #define CMD_PASTE 0x113
45 #define CMD_DELETE 0x114
46 #define CMD_SELECT_ALL 0x116
47 #define CMD_TIME_DATE 0x117
49 #define CMD_SEARCH 0x120
50 #define CMD_SEARCH_NEXT 0x121
51 #define CMD_REPLACE 0x122
53 #define CMD_WRAP 0x119
54 #define CMD_FONT 0x140
56 #define CMD_HELP_CONTENTS 0x130
57 #define CMD_HELP_SEARCH 0x131
58 #define CMD_HELP_ON_HELP 0x132
59 #define CMD_HELP_ABOUT_NOTEPAD 0x134
61 /* Control IDs */
62 #define IDC_PAGESETUP_HEADERVALUE 0x141
63 #define IDC_PAGESETUP_FOOTERVALUE 0x143
64 #define IDC_PAGESETUP_LEFTVALUE 0x147
65 #define IDC_PAGESETUP_RIGHTVALUE 0x14A
66 #define IDC_PAGESETUP_TOPVALUE 0x14D
67 #define IDC_PAGESETUP_BOTTOMVALUE 0x150
69 /* Strings */
70 #define STRING_PAGESETUP_HEADERVALUE 0x160
71 #define STRING_PAGESETUP_FOOTERVALUE 0x161
73 #define STRING_NOTEPAD 0x170
74 #define STRING_ERROR 0x171
75 #define STRING_WARNING 0x172
76 #define STRING_INFO 0x173
77 #define STRING_UNTITLED 0x174
78 #define STRING_ALL_FILES 0x175
79 #define STRING_TEXT_FILES_TXT 0x176
80 #define STRING_TOOLARGE 0x177
81 #define STRING_NOTEXT 0x178
82 #define STRING_DOESNOTEXIST 0x179
83 #define STRING_NOTSAVED 0x17A
85 #define STRING_NOTFOUND 0x17B
86 #define STRING_OUT_OF_MEMORY 0x17C
88 #define STRING_UNICODE_LE 0x180
89 #define STRING_UNICODE_BE 0x181
91 #define STRING_LOSS_OF_UNICODE_CHARACTERS 0x182
93 /* Open/Save As dialog template */
94 #define IDD_OFN_TEMPLATE 0x190
95 #define IDC_OFN_ENCCOMBO 0x191