OLD | NEW |
| (Empty) |
1 // Windows Template Library - WTL version 8.0 | |
2 // Copyright (C) Microsoft Corporation. All rights reserved. | |
3 // | |
4 // This file is a part of the Windows Template Library. | |
5 // The use and distribution terms for this software are covered by the | |
6 // Microsoft Permissive License (Ms-PL) which can be found in the file | |
7 // Ms-PL.txt at the root of this distribution. | |
8 | |
9 #ifndef __ATLRES_H__ | |
10 #define __ATLRES_H__ | |
11 | |
12 #pragma once | |
13 | |
14 #if defined(_WIN32_WCE) && !defined(__ATLRESCE_H__) | |
15 #error Use atlresCE.h instead of atlres.h for Windows CE | |
16 #endif | |
17 | |
18 | |
19 #ifdef RC_INVOKED | |
20 #ifndef _INC_WINDOWS | |
21 | |
22 #define _INC_WINDOWS | |
23 | |
24 #ifndef _WIN32_WCE | |
25 #define VS_VERSION_INFO 1 | |
26 | |
27 #ifdef APSTUDIO_INVOKED | |
28 #define APSTUDIO_HIDDEN_SYMBOLS // Ignore following symbols | |
29 #endif // APSTUDIO_INVOKED | |
30 | |
31 #ifndef WINVER | |
32 #define WINVER 0x0400 // default to Windows Version 4.0 | |
33 #endif // !WINVER | |
34 | |
35 #include <winresrc.h> | |
36 | |
37 // operation messages sent to DLGINIT | |
38 #define LB_ADDSTRING (WM_USER+1) | |
39 #define CB_ADDSTRING (WM_USER+3) | |
40 #endif // !_WIN32_WCE | |
41 | |
42 #ifdef APSTUDIO_INVOKED | |
43 #undef APSTUDIO_HIDDEN_SYMBOLS | |
44 #endif // APSTUDIO_INVOKED | |
45 | |
46 #ifdef IDC_STATIC | |
47 #undef IDC_STATIC | |
48 #endif // IDC_STATIC | |
49 #define IDC_STATIC (-1) | |
50 | |
51 #endif // !_INC_WINDOWS | |
52 #endif // RC_INVOKED | |
53 | |
54 #ifdef APSTUDIO_INVOKED | |
55 #define APSTUDIO_HIDDEN_SYMBOLS | |
56 #endif // APSTUDIO_INVOKED | |
57 | |
58 /////////////////////////////////////////////////////////////////////////////// | |
59 // ATL resource types | |
60 | |
61 #ifndef RC_INVOKED | |
62 #define RT_DLGINIT MAKEINTRESOURCE(240) | |
63 #define RT_TOOLBAR MAKEINTRESOURCE(241) | |
64 #endif // RC_INVOKED | |
65 | |
66 /////////////////////////////////////////////////////////////////////////////// | |
67 | |
68 #ifdef APSTUDIO_INVOKED | |
69 #undef APSTUDIO_HIDDEN_SYMBOLS | |
70 #endif // APSTUDIO_INVOKED | |
71 | |
72 /////////////////////////////////////////////////////////////////////////////// | |
73 // Standard window components | |
74 | |
75 #define ID_SEPARATOR 0 // special separator value | |
76 #define ID_DEFAULT_PANE 0 // default status bar pane | |
77 | |
78 #ifndef RC_INVOKED // code only | |
79 // standard control bars (IDW = window ID) | |
80 #define ATL_IDW_TOOLBAR 0xE800 // main Toolbar for window | |
81 #define ATL_IDW_STATUS_BAR 0xE801 // Status bar window | |
82 #define ATL_IDW_COMMAND_BAR 0xE802 // Command bar window | |
83 | |
84 // parts of a frame window | |
85 #define ATL_IDW_CLIENT 0xE900 | |
86 #define ATL_IDW_PANE_FIRST 0xE900 // first pane (256 max) | |
87 #define ATL_IDW_PANE_LAST 0xE9FF | |
88 #define ATL_IDW_HSCROLL_FIRST 0xEA00 // first Horz scrollbar (16 max) | |
89 #define ATL_IDW_VSCROLL_FIRST 0xEA10 // first Vert scrollbar (16 max) | |
90 | |
91 #define ATL_IDW_SIZE_BOX 0xEA20 // size box for splitters | |
92 #define ATL_IDW_PANE_SAVE 0xEA21 // to shift ATL_IDW_PANE_FIRST | |
93 | |
94 // bands for a rebar | |
95 #define ATL_IDW_BAND_FIRST 0xEB00 | |
96 #define ATL_IDW_BAND_LAST 0xEBFF | |
97 #endif // !RC_INVOKED | |
98 | |
99 /////////////////////////////////////////////////////////////////////////////// | |
100 // Standard Commands | |
101 | |
102 // File commands | |
103 #define ID_FILE_NEW 0xE100 | |
104 #define ID_FILE_OPEN 0xE101 | |
105 #define ID_FILE_CLOSE 0xE102 | |
106 #define ID_FILE_SAVE 0xE103 | |
107 #define ID_FILE_SAVE_AS 0xE104 | |
108 #define ID_FILE_PAGE_SETUP 0xE105 | |
109 #define ID_FILE_PRINT_SETUP 0xE106 | |
110 #define ID_FILE_PRINT 0xE107 | |
111 #define ID_FILE_PRINT_DIRECT 0xE108 | |
112 #define ID_FILE_PRINT_PREVIEW 0xE109 | |
113 #define ID_FILE_UPDATE 0xE10A | |
114 #define ID_FILE_SAVE_COPY_AS 0xE10B | |
115 #define ID_FILE_SEND_MAIL 0xE10C | |
116 | |
117 #define ID_FILE_MRU_FIRST 0xE110 | |
118 #define ID_FILE_MRU_FILE1 0xE110 // range - 16 max | |
119 #define ID_FILE_MRU_FILE2 0xE111 | |
120 #define ID_FILE_MRU_FILE3 0xE112 | |
121 #define ID_FILE_MRU_FILE4 0xE113 | |
122 #define ID_FILE_MRU_FILE5 0xE114 | |
123 #define ID_FILE_MRU_FILE6 0xE115 | |
124 #define ID_FILE_MRU_FILE7 0xE116 | |
125 #define ID_FILE_MRU_FILE8 0xE117 | |
126 #define ID_FILE_MRU_FILE9 0xE118 | |
127 #define ID_FILE_MRU_FILE10 0xE119 | |
128 #define ID_FILE_MRU_FILE11 0xE11A | |
129 #define ID_FILE_MRU_FILE12 0xE11B | |
130 #define ID_FILE_MRU_FILE13 0xE11C | |
131 #define ID_FILE_MRU_FILE14 0xE11D | |
132 #define ID_FILE_MRU_FILE15 0xE11E | |
133 #define ID_FILE_MRU_FILE16 0xE11F | |
134 #define ID_FILE_MRU_LAST 0xE11F | |
135 | |
136 // Edit commands | |
137 #define ID_EDIT_CLEAR 0xE120 | |
138 #define ID_EDIT_CLEAR_ALL 0xE121 | |
139 #define ID_EDIT_COPY 0xE122 | |
140 #define ID_EDIT_CUT 0xE123 | |
141 #define ID_EDIT_FIND 0xE124 | |
142 #define ID_EDIT_PASTE 0xE125 | |
143 #define ID_EDIT_PASTE_LINK 0xE126 | |
144 #define ID_EDIT_PASTE_SPECIAL 0xE127 | |
145 #define ID_EDIT_REPEAT 0xE128 | |
146 #define ID_EDIT_REPLACE 0xE129 | |
147 #define ID_EDIT_SELECT_ALL 0xE12A | |
148 #define ID_EDIT_UNDO 0xE12B | |
149 #define ID_EDIT_REDO 0xE12C | |
150 | |
151 // Window commands | |
152 #define ID_WINDOW_NEW 0xE130 | |
153 #define ID_WINDOW_ARRANGE 0xE131 | |
154 #define ID_WINDOW_CASCADE 0xE132 | |
155 #define ID_WINDOW_TILE_HORZ 0xE133 | |
156 #define ID_WINDOW_TILE_VERT 0xE134 | |
157 #define ID_WINDOW_SPLIT 0xE135 | |
158 #ifndef RC_INVOKED // code only | |
159 #define ATL_IDM_WINDOW_FIRST 0xE130 | |
160 #define ATL_IDM_WINDOW_LAST 0xE13F | |
161 #define ATL_IDM_FIRST_MDICHILD 0xFF00 // window list starts here | |
162 #define ATL_IDM_LAST_MDICHILD 0xFFFD | |
163 #endif // !RC_INVOKED | |
164 // TabView | |
165 #define ID_WINDOW_TABFIRST 0xFF00 // = ATL_IDM_FIRST_MDICHILD | |
166 #define ID_WINDOW_TABLAST 0xFFFD | |
167 #define ID_WINDOW_SHOWTABLIST 0xFFFE | |
168 | |
169 // Help and App commands | |
170 #define ID_APP_ABOUT 0xE140 | |
171 #define ID_APP_EXIT 0xE141 | |
172 #define ID_HELP_INDEX 0xE142 | |
173 #define ID_HELP_FINDER 0xE143 | |
174 #define ID_HELP_USING 0xE144 | |
175 #define ID_CONTEXT_HELP 0xE145 // shift-F1 | |
176 // special commands for processing help | |
177 #define ID_HELP 0xE146 // first attempt for F1 | |
178 #define ID_DEFAULT_HELP 0xE147 // last attempt | |
179 | |
180 // Misc | |
181 #define ID_NEXT_PANE 0xE150 | |
182 #define ID_PREV_PANE 0xE151 | |
183 #define ID_PANE_CLOSE 0xE152 | |
184 | |
185 // Format | |
186 #define ID_FORMAT_FONT 0xE160 | |
187 | |
188 // Scroll | |
189 #define ID_SCROLL_UP 0xE170 | |
190 #define ID_SCROLL_DOWN 0xE171 | |
191 #define ID_SCROLL_PAGE_UP 0xE172 | |
192 #define ID_SCROLL_PAGE_DOWN 0xE173 | |
193 #define ID_SCROLL_TOP 0xE174 | |
194 #define ID_SCROLL_BOTTOM 0xE175 | |
195 #define ID_SCROLL_LEFT 0xE176 | |
196 #define ID_SCROLL_RIGHT 0xE177 | |
197 #define ID_SCROLL_PAGE_LEFT 0xE178 | |
198 #define ID_SCROLL_PAGE_RIGHT 0xE179 | |
199 #define ID_SCROLL_ALL_LEFT 0xE17A | |
200 #define ID_SCROLL_ALL_RIGHT 0xE17B | |
201 | |
202 // OLE commands | |
203 #define ID_OLE_INSERT_NEW 0xE200 | |
204 #define ID_OLE_EDIT_LINKS 0xE201 | |
205 #define ID_OLE_EDIT_CONVERT 0xE202 | |
206 #define ID_OLE_EDIT_CHANGE_ICON 0xE203 | |
207 #define ID_OLE_EDIT_PROPERTIES 0xE204 | |
208 #define ID_OLE_VERB_FIRST 0xE210 // range - 16 max | |
209 #ifndef RC_INVOKED // code only | |
210 #define ID_OLE_VERB_LAST 0xE21F | |
211 #endif // !RC_INVOKED | |
212 | |
213 // View commands (same number used as IDW used for toolbar and status bar) | |
214 #define ID_VIEW_TOOLBAR 0xE800 | |
215 #define ID_VIEW_STATUS_BAR 0xE801 | |
216 #define ID_VIEW_REFRESH 0xE803 | |
217 | |
218 /////////////////////////////////////////////////////////////////////////////// | |
219 // Standard control IDs | |
220 | |
221 #ifdef IDC_STATIC | |
222 #undef IDC_STATIC | |
223 #endif // IDC_STATIC | |
224 #define IDC_STATIC (-1) // all static controls | |
225 | |
226 /////////////////////////////////////////////////////////////////////////////// | |
227 // Standard string error/warnings | |
228 | |
229 // idle status bar message | |
230 #define ATL_IDS_IDLEMESSAGE 0xE001 | |
231 | |
232 #ifndef RC_INVOKED // code only | |
233 #define ATL_IDS_SCFIRST 0xEF00 | |
234 #endif // !RC_INVOKED | |
235 | |
236 #define ATL_IDS_SCSIZE 0xEF00 | |
237 #define ATL_IDS_SCMOVE 0xEF01 | |
238 #define ATL_IDS_SCMINIMIZE 0xEF02 | |
239 #define ATL_IDS_SCMAXIMIZE 0xEF03 | |
240 #define ATL_IDS_SCNEXTWINDOW 0xEF04 | |
241 #define ATL_IDS_SCPREVWINDOW 0xEF05 | |
242 #define ATL_IDS_SCCLOSE 0xEF06 | |
243 #define ATL_IDS_SCRESTORE 0xEF12 | |
244 #define ATL_IDS_SCTASKLIST 0xEF13 | |
245 | |
246 #define ATL_IDS_MDICHILD 0xEF1F | |
247 #define ATL_IDS_MRU_FILE 0xEFDA | |
248 | |
249 /////////////////////////////////////////////////////////////////////////////// | |
250 // Misc. control IDs | |
251 | |
252 // Property Sheet control id's (determined with Spy++) | |
253 #define ID_APPLY_NOW 0x3021 | |
254 #define ID_WIZBACK 0x3023 | |
255 #define ID_WIZNEXT 0x3024 | |
256 #define ID_WIZFINISH 0x3025 | |
257 #define ATL_IDC_TAB_CONTROL 0x3020 | |
258 | |
259 #endif // __ATLRES_H__ | |
OLD | NEW |