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