1*b1cdbd2cSJim Jagielski/**************************************************************
2*b1cdbd2cSJim Jagielski *
3*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one
4*b1cdbd2cSJim Jagielski * or more contributor license agreements.  See the NOTICE file
5*b1cdbd2cSJim Jagielski * distributed with this work for additional information
6*b1cdbd2cSJim Jagielski * regarding copyright ownership.  The ASF licenses this file
7*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the
8*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance
9*b1cdbd2cSJim Jagielski * with the License.  You may obtain a copy of the License at
10*b1cdbd2cSJim Jagielski *
11*b1cdbd2cSJim Jagielski *   http://www.apache.org/licenses/LICENSE-2.0
12*b1cdbd2cSJim Jagielski *
13*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing,
14*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an
15*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*b1cdbd2cSJim Jagielski * KIND, either express or implied.  See the License for the
17*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations
18*b1cdbd2cSJim Jagielski * under the License.
19*b1cdbd2cSJim Jagielski *
20*b1cdbd2cSJim Jagielski *************************************************************/
21*b1cdbd2cSJim Jagielski
22*b1cdbd2cSJim Jagielski
23*b1cdbd2cSJim Jagielski
24*b1cdbd2cSJim Jagielski#ifndef _DBU_RESOURCE_HRC_
25*b1cdbd2cSJim Jagielski#define _DBU_RESOURCE_HRC_
26*b1cdbd2cSJim Jagielski
27*b1cdbd2cSJim Jagielski#ifndef _SOLAR_HRC
28*b1cdbd2cSJim Jagielski#include <svl/solar.hrc>
29*b1cdbd2cSJim Jagielski#endif
30*b1cdbd2cSJim Jagielski
31*b1cdbd2cSJim Jagielski#define RID_DIALOG_START				RID_DBACCESS_START
32*b1cdbd2cSJim Jagielski#define RID_PAGE_START					RID_DBACCESS_START
33*b1cdbd2cSJim Jagielski#define RID_ERRORBOX_START				RID_DBACCESS_START
34*b1cdbd2cSJim Jagielski#define RID_QUERYBOX_START				RID_DBACCESS_START
35*b1cdbd2cSJim Jagielski#define RID_TOOLBOX_START				RID_DBACCESS_START
36*b1cdbd2cSJim Jagielski#define RID_BITMAP_START				RID_DBACCESS_START
37*b1cdbd2cSJim Jagielski#define RID_IMAGE_START					RID_DBACCESS_START
38*b1cdbd2cSJim Jagielski#define RID_IMAGELIST_START				RID_DBACCESS_START
39*b1cdbd2cSJim Jagielski#define RID_MENU_START					RID_DBACCESS_START
40*b1cdbd2cSJim Jagielski#define RID_STRING_START				RID_DBACCESS_START
41*b1cdbd2cSJim Jagielski#define RID_UNTYPED_START				RID_DBACCESS_START
42*b1cdbd2cSJim Jagielski#define RID_WARN_START					RID_DBACCESS_START
43*b1cdbd2cSJim Jagielski#define RID_CONTROL_START				RID_DBACCESS_START
44*b1cdbd2cSJim Jagielski#define RID_MISC_START                  RID_DBACCESS_START
45*b1cdbd2cSJim Jagielski
46*b1cdbd2cSJim Jagielski// new defines to make the strings folder specific
47*b1cdbd2cSJim Jagielski#define RID_STR_BRW_START				RID_DBACCESS_START
48*b1cdbd2cSJim Jagielski#define RID_STR_BRW_END					RID_STR_BRW_START		+ 40	//   0 -  39
49*b1cdbd2cSJim Jagielski
50*b1cdbd2cSJim Jagielski#define RID_STR_CONTROL_START			RID_STR_BRW_END
51*b1cdbd2cSJim Jagielski#define RID_STR_CONTROL_END				RID_STR_CONTROL_START	+ 30	//  40 -  69
52*b1cdbd2cSJim Jagielski
53*b1cdbd2cSJim Jagielski#define RID_STR_DLG_START				RID_STR_CONTROL_END
54*b1cdbd2cSJim Jagielski#define RID_STR_DLG_END					RID_STR_DLG_START		+ 80	//  70 - 149
55*b1cdbd2cSJim Jagielski
56*b1cdbd2cSJim Jagielski#define RID_STR_MISC_START				RID_STR_DLG_END
57*b1cdbd2cSJim Jagielski#define RID_STR_MISC_END				RID_STR_MISC_START		+ 20	// 150 - 169
58*b1cdbd2cSJim Jagielski
59*b1cdbd2cSJim Jagielski#define RID_STR_QRY_START				RID_STR_MISC_END
60*b1cdbd2cSJim Jagielski#define RID_STR_QRY_END					RID_STR_QRY_START		+ 80	// 170 - 249
61*b1cdbd2cSJim Jagielski
62*b1cdbd2cSJim Jagielski#define RID_STR_TBL_START				RID_STR_QRY_END
63*b1cdbd2cSJim Jagielski#define RID_STR_TBL_END					RID_STR_TBL_START		+ 80	// 250 - 329
64*b1cdbd2cSJim Jagielski
65*b1cdbd2cSJim Jagielski#define RID_STR_REL_START				RID_STR_TBL_END
66*b1cdbd2cSJim Jagielski#define RID_STR_REL_END					RID_STR_REL_START		+ 10	// 330 - 349
67*b1cdbd2cSJim Jagielski
68*b1cdbd2cSJim Jagielski#define RID_STR_UNO_START				RID_STR_REL_END
69*b1cdbd2cSJim Jagielski#define RID_STR_UNO_END					RID_STR_UNO_START		+ 20	// 350 - 369
70*b1cdbd2cSJim Jagielski
71*b1cdbd2cSJim Jagielski#define RID_STR_GEN_START				RID_STR_UNO_END
72*b1cdbd2cSJim Jagielski#define RID_STR_GEN_END					RID_STR_GEN_START		+ 55	// 370 - 424
73*b1cdbd2cSJim Jagielski
74*b1cdbd2cSJim Jagielski#define RID_STR_APP_START				RID_STR_GEN_END
75*b1cdbd2cSJim Jagielski#define RID_STR_APP_END					RID_STR_APP_START		+ 40	//   425 - 464
76*b1cdbd2cSJim Jagielski
77*b1cdbd2cSJim Jagielski
78*b1cdbd2cSJim Jagielski#if RID_STR_GEN_END > RID_DBACCESS_END
79*b1cdbd2cSJim Jagielski#error Resource-Id Ueberlauf in #file, #line
80*b1cdbd2cSJim Jagielski#endif
81*b1cdbd2cSJim Jagielski
82*b1cdbd2cSJim Jagielski//========================================================================
83*b1cdbd2cSJim Jagielski// dialog ids
84*b1cdbd2cSJim Jagielski
85*b1cdbd2cSJim Jagielski#define DLG_DATABASE_ADMINISTRATION		RID_DIALOG_START +  0
86*b1cdbd2cSJim Jagielski#define DLG_DBASE_INDEXES				RID_DIALOG_START +  1
87*b1cdbd2cSJim Jagielski#define DLG_SQLMESSAGE					RID_DIALOG_START +  2
88*b1cdbd2cSJim Jagielski#define DLG_SQLEXCEPTIONCHAIN			RID_DIALOG_START +  3
89*b1cdbd2cSJim Jagielski#define DLG_DATASOURCE_SELECTION		RID_DIALOG_START +  4
90*b1cdbd2cSJim Jagielski#define DLG_PARAMETERS					RID_DIALOG_START +  5
91*b1cdbd2cSJim Jagielski#define DLG_FILTERCRIT					RID_DIALOG_START +  6
92*b1cdbd2cSJim Jagielski#define DLG_ORDERCRIT					RID_DIALOG_START +  7
93*b1cdbd2cSJim Jagielski#define DLG_ROWHEIGHT					RID_DIALOG_START +  8
94*b1cdbd2cSJim Jagielski#define DLG_COLWIDTH					RID_DIALOG_START +  9
95*b1cdbd2cSJim Jagielski#define DLG_ATTR						RID_DIALOG_START + 10
96*b1cdbd2cSJim Jagielski#define DLG_SAVE_AS						RID_DIALOG_START + 11
97*b1cdbd2cSJim Jagielski#define DLG_ERROR						RID_DIALOG_START + 12
98*b1cdbd2cSJim Jagielski#define DLG_TEXT						RID_DIALOG_START + 13
99*b1cdbd2cSJim Jagielski#define DLG_JOIN_TABADD					RID_DIALOG_START + 14
100*b1cdbd2cSJim Jagielski#define DLG_QRY_JOIN					RID_DIALOG_START + 15
101*b1cdbd2cSJim Jagielski#define WIZ_RTFCOPYTABLE				RID_DIALOG_START + 16
102*b1cdbd2cSJim Jagielski#define DLG_REL_PROPERTIES				RID_DIALOG_START + 17
103*b1cdbd2cSJim Jagielski#define DLG_ADABASSTAT					RID_DIALOG_START + 18
104*b1cdbd2cSJim Jagielski#define DLG_INDEXDESIGN					RID_DIALOG_START + 19
105*b1cdbd2cSJim Jagielski#define DLG_DATABASE_ADABASADMIN		RID_DIALOG_START + 20
106*b1cdbd2cSJim Jagielski#define DLG_DATABASE_USERADMIN			RID_DIALOG_START + 21
107*b1cdbd2cSJim Jagielski#define DLG_DIRECTSQL					RID_DIALOG_START + 22
108*b1cdbd2cSJim Jagielski#define DLG_PASSWORD					RID_DIALOG_START + 23
109*b1cdbd2cSJim Jagielski#define DLG_DOMAINPASSWORD				RID_DIALOG_START + 24
110*b1cdbd2cSJim Jagielski#define DLG_RENAME						RID_DIALOG_START + 25
111*b1cdbd2cSJim Jagielski#define DLG_DATABASE_ADVANCED			RID_DIALOG_START + 26
112*b1cdbd2cSJim Jagielski#define DLG_COLLECTION_VIEW				RID_DIALOG_START + 27
113*b1cdbd2cSJim Jagielski#define DLG_DATABASE_TYPE_CHANGE		RID_DIALOG_START + 28
114*b1cdbd2cSJim Jagielski#define DLG_DATABASE_WIZARD     		RID_DIALOG_START + 29
115*b1cdbd2cSJim Jagielski#define RID_EXTENSION_NOT_PRESENT_DLG   RID_DIALOG_START + 30
116*b1cdbd2cSJim Jagielski#define DLG_TEXT_CONNECTION_SETTINGS    RID_DIALOG_START + 31
117*b1cdbd2cSJim Jagielski#define DLG_TABLE_FILTER                RID_DIALOG_START + 32
118*b1cdbd2cSJim Jagielski//========================================================================
119*b1cdbd2cSJim Jagielski// tab pages
120*b1cdbd2cSJim Jagielski
121*b1cdbd2cSJim Jagielski#define PAGE_GENERAL					RID_PAGE_START +  0
122*b1cdbd2cSJim Jagielski#define PAGE_DBASE						RID_PAGE_START +  1
123*b1cdbd2cSJim Jagielski#define PAGE_ODBC						RID_PAGE_START +  3
124*b1cdbd2cSJim Jagielski#define PAGE_TEXT						RID_PAGE_START +  4
125*b1cdbd2cSJim Jagielski#define PAGE_ADABAS						RID_PAGE_START +  5
126*b1cdbd2cSJim Jagielski#define PAGE_CONNECTION					RID_PAGE_START +  6
127*b1cdbd2cSJim Jagielski#define PAGE_ADO						RID_PAGE_START +  7
128*b1cdbd2cSJim Jagielski#define PAGE_QUERYADMINISTRATION		RID_PAGE_START +  8
129*b1cdbd2cSJim Jagielski#define TAB_WIZ_COLUMN_SELECT			RID_PAGE_START +  9
130*b1cdbd2cSJim Jagielski#define TAB_WIZ_TYPE_SELECT				RID_PAGE_START + 10
131*b1cdbd2cSJim Jagielski#define TAB_WIZ_NAME_MATCHING			RID_PAGE_START + 11
132*b1cdbd2cSJim Jagielski#define TAB_WIZ_COPYTABLE				RID_PAGE_START + 12
133*b1cdbd2cSJim Jagielski#define TAB_PAG_ADABAS_SETTINGS			RID_PAGE_START + 13
134*b1cdbd2cSJim Jagielski// free
135*b1cdbd2cSJim Jagielski#define PAGE_LDAP						RID_PAGE_START + 15
136*b1cdbd2cSJim Jagielski#define TAB_PAGE_USERADMIN				RID_PAGE_START + 16
137*b1cdbd2cSJim Jagielski#define PAGE_MYSQL_ODBC					RID_PAGE_START + 17
138*b1cdbd2cSJim Jagielski#define TAB_PAGE_TABLEPRIVILEGES		RID_PAGE_START + 18
139*b1cdbd2cSJim Jagielski#define PAGE_USERDRIVER					RID_PAGE_START + 19
140*b1cdbd2cSJim Jagielski#define PAGE_MYSQL_JDBC					RID_PAGE_START + 20
141*b1cdbd2cSJim Jagielski#define PAGE_GENERATED_VALUES			RID_PAGE_START + 22
142*b1cdbd2cSJim Jagielski#define PAGE_ADVANCED_SETTINGS_SPECIAL  RID_PAGE_START + 23
143*b1cdbd2cSJim Jagielski#define PAGE_MYSQL_NATIVE               RID_PAGE_START + 24
144*b1cdbd2cSJim Jagielski    // FREE
145*b1cdbd2cSJim Jagielski    // FREE
146*b1cdbd2cSJim Jagielski#define PAGE_ORACLE_JDBC				RID_PAGE_START + 27
147*b1cdbd2cSJim Jagielski#define PAGE_TABLESUBSCRIPTION			RID_PAGE_START + 28
148*b1cdbd2cSJim Jagielski    // FREE
149*b1cdbd2cSJim Jagielski    // FREE
150*b1cdbd2cSJim Jagielski    // FREE
151*b1cdbd2cSJim Jagielski#define PAGE_MOZILLA					RID_PAGE_START + 32
152*b1cdbd2cSJim Jagielski#define PAGE_DS_ORACLE_ADVANCED_SETTINGS RID_PAGE_START + 33
153*b1cdbd2cSJim Jagielski
154*b1cdbd2cSJim Jagielski
155*b1cdbd2cSJim Jagielski#define PAGE_DBWIZARD_INTRO                     RID_PAGE_START + 40
156*b1cdbd2cSJim Jagielski#define PAGE_DBWIZARD_DBASE     		        RID_PAGE_START + 41
157*b1cdbd2cSJim Jagielski#define PAGE_DBWIZARD_TEXT                      RID_PAGE_START + 42
158*b1cdbd2cSJim Jagielski#define PAGE_DBWIZARD_MSACCESS                  RID_PAGE_START + 43
159*b1cdbd2cSJim Jagielski#define PAGE_DBWIZARD_LDAP                      RID_PAGE_START + 44
160*b1cdbd2cSJim Jagielski#define PAGE_DBWIZARD_ADABAS                    RID_PAGE_START + 45
161*b1cdbd2cSJim Jagielski#define PAGE_DBWIZARD_MYSQL_INTRO               RID_PAGE_START + 46
162*b1cdbd2cSJim Jagielski#define PAGE_DBWIZARD_MYSQL_ODBC	            RID_PAGE_START + 47
163*b1cdbd2cSJim Jagielski#define PAGE_DBWIZARD_ORACLE                    RID_PAGE_START + 48
164*b1cdbd2cSJim Jagielski#define PAGE_DBWIZARD_JDBC                      RID_PAGE_START + 49
165*b1cdbd2cSJim Jagielski#define PAGE_DBWIZARD_ADO                       RID_PAGE_START + 50
166*b1cdbd2cSJim Jagielski#define PAGE_DBWIZARD_ODBC                      RID_PAGE_START + 51
167*b1cdbd2cSJim Jagielski#define PAGE_DBWIZARD_SPREADSHEET               RID_PAGE_START + 52
168*b1cdbd2cSJim Jagielski#define PAGE_DBWIZARD_AUTHENTIFICATION          RID_PAGE_START + 53
169*b1cdbd2cSJim Jagielski#define PAGE_DBWIZARD_MYSQL_JDBC                RID_PAGE_START + 54
170*b1cdbd2cSJim Jagielski#define PAGE_DBWIZARD_FINAL                     RID_PAGE_START + 55
171*b1cdbd2cSJim Jagielski#define PAGE_DBWIZARD_USERDEFINED				RID_PAGE_START + 56
172*b1cdbd2cSJim Jagielski#define PAGE_DBWIZARD_MYSQL_NATIVE				RID_PAGE_START + 57
173*b1cdbd2cSJim Jagielski
174*b1cdbd2cSJim Jagielski//========================================================================
175*b1cdbd2cSJim Jagielski// error boxes
176*b1cdbd2cSJim Jagielski
177*b1cdbd2cSJim Jagielski#define ERR_NOREGISTEREDDATASOURCES		RID_ERRORBOX_START +  0
178*b1cdbd2cSJim Jagielski// free
179*b1cdbd2cSJim Jagielski#define ERR_QRY_CRITERIA_ON_ASTERISK	RID_ERRORBOX_START +  2
180*b1cdbd2cSJim Jagielski#define ERR_QRY_ORDERBY_ON_ASTERISK		RID_ERRORBOX_START +  3
181*b1cdbd2cSJim Jagielski#define ERR_QRY_AMB_FIELD				RID_ERRORBOX_START +  4
182*b1cdbd2cSJim Jagielski    // FREE
183*b1cdbd2cSJim Jagielski#define ERR_INVALID_LISTBOX_ENTRY		RID_ERRORBOX_START +  6
184*b1cdbd2cSJim Jagielski// FREE
185*b1cdbd2cSJim Jagielski#define ERR_NEED_INDEX_FIELDS			RID_ERRORBOX_START +  8
186*b1cdbd2cSJim Jagielski#define ERR_QRY_NOSTATEMENT				RID_ERRORBOX_START +  9
187*b1cdbd2cSJim Jagielski#define ERR_QRY_NOCRITERIA				RID_ERRORBOX_START + 10
188*b1cdbd2cSJim Jagielski#define ERR_CANTDOTABLEACTION			RID_ERRORBOX_START + 11
189*b1cdbd2cSJim Jagielski
190*b1cdbd2cSJim Jagielski
191*b1cdbd2cSJim Jagielski
192*b1cdbd2cSJim Jagielski//========================================================================
193*b1cdbd2cSJim Jagielski// query boxes
194*b1cdbd2cSJim Jagielski
195*b1cdbd2cSJim Jagielski#define QUERY_BRW_DELETE_ROWS			RID_QUERYBOX_START +  0
196*b1cdbd2cSJim Jagielski#define QUERY_BRW_SAVEMODIFIED			RID_QUERYBOX_START +  1
197*b1cdbd2cSJim Jagielski#define QUERY_CONNECTION_LOST			RID_QUERYBOX_START +  2
198*b1cdbd2cSJim Jagielski#define QUERY_BRW_DELETE_QUERY_CONFIRM	RID_QUERYBOX_START +  3
199*b1cdbd2cSJim Jagielski#define APP_SAVEMODIFIED				RID_QUERYBOX_START +  4
200*b1cdbd2cSJim Jagielski#define TABLE_DESIGN_SAVEMODIFIED		RID_QUERYBOX_START +  5
201*b1cdbd2cSJim Jagielski#define TABLE_QUERY_CONNECTION_LOST		RID_QUERYBOX_START +  6
202*b1cdbd2cSJim Jagielski#define QUERY_SAVE_CURRENT_INDEX		RID_QUERYBOX_START +  7
203*b1cdbd2cSJim Jagielski#define QUERY_SAVE_TABLE_EDIT_INDEXES	RID_QUERYBOX_START +  8
204*b1cdbd2cSJim Jagielski#define RELATION_DESIGN_SAVEMODIFIED	RID_QUERYBOX_START +  9
205*b1cdbd2cSJim Jagielski    // FREE
206*b1cdbd2cSJim Jagielski#define APP_CLOSEDOCUMENTS				RID_QUERYBOX_START + 11
207*b1cdbd2cSJim Jagielski#define QUERY_USERADMIN_DELETE_USER		RID_QUERYBOX_START + 12
208*b1cdbd2cSJim Jagielski#define TABLE_DESIGN_ALL_ROWS_DELETED	RID_QUERYBOX_START + 13
209*b1cdbd2cSJim Jagielski
210*b1cdbd2cSJim Jagielski
211*b1cdbd2cSJim Jagielski
212*b1cdbd2cSJim Jagielski
213*b1cdbd2cSJim Jagielski//========================================================================
214*b1cdbd2cSJim Jagielski// warning boxes
215*b1cdbd2cSJim Jagielski
216*b1cdbd2cSJim Jagielski
217*b1cdbd2cSJim Jagielski//========================================================================
218*b1cdbd2cSJim Jagielski// toolboxes
219*b1cdbd2cSJim Jagielski
220*b1cdbd2cSJim Jagielski#define RID_BRW_TAB_TOOLBOX				RID_TOOLBOX_START +  0
221*b1cdbd2cSJim Jagielski#define RID_BRW_QRY_TOOLBOX				RID_TOOLBOX_START +  1
222*b1cdbd2cSJim Jagielski#define RID_QRY_TOOLBOX_SQL				RID_TOOLBOX_START +  2
223*b1cdbd2cSJim Jagielski#define RID_BRW_QUERYDESIGN_TOOLBOX		RID_TOOLBOX_START +  3
224*b1cdbd2cSJim Jagielski#define RID_BRW_REALTIONDESIGN_TOOLBOX	RID_TOOLBOX_START +  4
225*b1cdbd2cSJim Jagielski#define RID_BRW_APPLICATION_TOOLBOX		RID_TOOLBOX_START +  5
226*b1cdbd2cSJim Jagielski
227*b1cdbd2cSJim Jagielski//========================================================================
228*b1cdbd2cSJim Jagielski// bitmaps
229*b1cdbd2cSJim Jagielski
230*b1cdbd2cSJim Jagielski// start with	RID_BITMAP_START
231*b1cdbd2cSJim Jagielski
232*b1cdbd2cSJim Jagielski//========================================================================
233*b1cdbd2cSJim Jagielski// images
234*b1cdbd2cSJim Jagielski
235*b1cdbd2cSJim Jagielski#define TABLE_TREE_ICON					RID_IMAGE_START +  0
236*b1cdbd2cSJim Jagielski#define VIEW_TREE_ICON					RID_IMAGE_START +  1
237*b1cdbd2cSJim Jagielski#define TABLEFOLDER_TREE_ICON			RID_IMAGE_START +  2
238*b1cdbd2cSJim Jagielski#define BMP_EXCEPTION_ERROR				RID_IMAGE_START +  3
239*b1cdbd2cSJim Jagielski#define BMP_EXCEPTION_WARNING			RID_IMAGE_START +  4
240*b1cdbd2cSJim Jagielski#define BMP_EXCEPTION_INFO				RID_IMAGE_START +  5
241*b1cdbd2cSJim Jagielski#define QUERYFOLDER_TREE_ICON			RID_IMAGE_START +  6
242*b1cdbd2cSJim Jagielski#define QUERY_TREE_ICON					RID_IMAGE_START +  7
243*b1cdbd2cSJim Jagielski#define	DATABASE_TREE_ICON              RID_IMAGE_START +  8
244*b1cdbd2cSJim Jagielski// free
245*b1cdbd2cSJim Jagielski// free
246*b1cdbd2cSJim Jagielski// free
247*b1cdbd2cSJim Jagielski#define	IMG_PKEYICON					RID_IMAGE_START + 12
248*b1cdbd2cSJim Jagielski#define	REPORTFOLDER_TREE_ICON_SCH      RID_IMAGE_START + 13
249*b1cdbd2cSJim Jagielski#define	FORMFOLDER_TREE_ICON_SCH        RID_IMAGE_START + 14
250*b1cdbd2cSJim Jagielski#define IMG_DATABASE_CONNECTED			RID_IMAGE_START + 15
251*b1cdbd2cSJim Jagielski#define QUERYFOLDER_TREE_ICON_SCH		RID_IMAGE_START + 16
252*b1cdbd2cSJim Jagielski#define TABLEFOLDER_TREE_ICON_SCH		RID_IMAGE_START + 17
253*b1cdbd2cSJim Jagielski// free
254*b1cdbd2cSJim Jagielski#define	DATABASE_TREE_ICON_SCH          RID_IMAGE_START + 19
255*b1cdbd2cSJim Jagielski#define IMG_DATABASE_CONNECTED_SCH		RID_IMAGE_START + 20
256*b1cdbd2cSJim Jagielski#define TABLE_TREE_ICON_SCH				RID_IMAGE_START + 21
257*b1cdbd2cSJim Jagielski#define VIEW_TREE_ICON_SCH				RID_IMAGE_START + 22
258*b1cdbd2cSJim Jagielski#define QUERY_TREE_ICON_SCH				RID_IMAGE_START + 23
259*b1cdbd2cSJim Jagielski#define	REPORTFOLDER_TREE_ICON          RID_IMAGE_START + 24
260*b1cdbd2cSJim Jagielski// free
261*b1cdbd2cSJim Jagielski// free
262*b1cdbd2cSJim Jagielski// free
263*b1cdbd2cSJim Jagielski#define BMP_EXCEPTION_ERROR_SCH			RID_IMAGE_START + 28
264*b1cdbd2cSJim Jagielski#define BMP_EXCEPTION_WARNING_SCH		RID_IMAGE_START + 29
265*b1cdbd2cSJim Jagielski#define BMP_EXCEPTION_INFO_SCH			RID_IMAGE_START + 30
266*b1cdbd2cSJim Jagielski#define	IMG_PKEYICON_SCH				RID_IMAGE_START + 31
267*b1cdbd2cSJim Jagielski#define	IMG_JOINS_H						RID_IMAGE_START + 32
268*b1cdbd2cSJim Jagielski#define	IMG_ALL_LEFT_H					RID_IMAGE_START + 33
269*b1cdbd2cSJim Jagielski#define	IMG_ONE_LEFT_H					RID_IMAGE_START + 34
270*b1cdbd2cSJim Jagielski#define	IMG_ONE_RIGHT_H					RID_IMAGE_START + 35
271*b1cdbd2cSJim Jagielski#define	IMG_ALL_RIGHT_H					RID_IMAGE_START + 36
272*b1cdbd2cSJim Jagielski#define	IMG_SORTUP_H					RID_IMAGE_START + 37
273*b1cdbd2cSJim Jagielski#define	IMG_SORTDOWN_H					RID_IMAGE_START + 38
274*b1cdbd2cSJim Jagielski#define	IMG_FORMFOLDER_TREE_L			RID_IMAGE_START + 39
275*b1cdbd2cSJim Jagielski#define	IMG_REPORTFOLDER_TREE_L			RID_IMAGE_START + 40
276*b1cdbd2cSJim Jagielski#define	IMG_QUERYFOLDER_TREE_L			RID_IMAGE_START + 41
277*b1cdbd2cSJim Jagielski#define	IMG_TABLEFOLDER_TREE_L			RID_IMAGE_START + 42
278*b1cdbd2cSJim Jagielski#define	IMG_FORMFOLDER_TREE_LHC			RID_IMAGE_START + 43
279*b1cdbd2cSJim Jagielski#define	IMG_REPORTFOLDER_TREE_LHC		RID_IMAGE_START + 44
280*b1cdbd2cSJim Jagielski#define	IMG_QUERYFOLDER_TREE_LHC		RID_IMAGE_START + 45
281*b1cdbd2cSJim Jagielski#define	IMG_TABLEFOLDER_TREE_LHC		RID_IMAGE_START + 46
282*b1cdbd2cSJim Jagielski#define	IMG_NAVIGATION_BTN_UP_SC		RID_IMAGE_START + 47
283*b1cdbd2cSJim Jagielski#define	IMG_NAVIGATION_BTN_UP_SCH		RID_IMAGE_START + 48
284*b1cdbd2cSJim Jagielski#define	IMG_NAVIGATION_CREATEFOLDER_SC	RID_IMAGE_START + 49
285*b1cdbd2cSJim Jagielski#define	IMG_NAVIGATION_CREATEFOLDER_SCH	RID_IMAGE_START + 50
286*b1cdbd2cSJim Jagielski#define	FORM_TREE_ICON					RID_IMAGE_START + 51
287*b1cdbd2cSJim Jagielski#define	REPORT_TREE_ICON				RID_IMAGE_START + 52
288*b1cdbd2cSJim Jagielski#define	FORM_TREE_ICON_SCH				RID_IMAGE_START + 53
289*b1cdbd2cSJim Jagielski#define	REPORT_TREE_ICON_SCH			RID_IMAGE_START + 54
290*b1cdbd2cSJim Jagielski#define	FORMFOLDER_TREE_ICON            RID_IMAGE_START + 55
291*b1cdbd2cSJim Jagielski
292*b1cdbd2cSJim Jagielski
293*b1cdbd2cSJim Jagielski//========================================================================
294*b1cdbd2cSJim Jagielski// image lists
295*b1cdbd2cSJim Jagielski#define IMG_JOINS						RID_IMAGELIST_START +  0
296*b1cdbd2cSJim Jagielski#define IMG_INDEX_DLG_SC				RID_IMAGELIST_START +  1
297*b1cdbd2cSJim Jagielski#define IMG_INDEX_DLG_SCH				RID_IMAGELIST_START +  2
298*b1cdbd2cSJim Jagielski#define IMG_INDEX_DLG_LC				RID_IMAGELIST_START +  3
299*b1cdbd2cSJim Jagielski#define IMG_INDEX_DLG_LCH				RID_IMAGELIST_START +  4
300*b1cdbd2cSJim Jagielski#define IMP_FORM_SC						RID_IMAGELIST_START +  5
301*b1cdbd2cSJim Jagielski#define IMP_FORM_SCH					RID_IMAGELIST_START +  6
302*b1cdbd2cSJim Jagielski#define IMP_FORM_LC						RID_IMAGELIST_START +  7
303*b1cdbd2cSJim Jagielski#define IMP_FORM_LCH					RID_IMAGELIST_START +  8
304*b1cdbd2cSJim Jagielski#define IMP_REPORT_SC					RID_IMAGELIST_START +  9
305*b1cdbd2cSJim Jagielski#define IMP_REPORT_SCH					RID_IMAGELIST_START + 10
306*b1cdbd2cSJim Jagielski#define IMP_REPORT_LC					RID_IMAGELIST_START + 11
307*b1cdbd2cSJim Jagielski#define IMP_REPORT_LCH					RID_IMAGELIST_START + 12
308*b1cdbd2cSJim Jagielski
309*b1cdbd2cSJim Jagielski//========================================================================
310*b1cdbd2cSJim Jagielski// menues
311*b1cdbd2cSJim Jagielski
312*b1cdbd2cSJim Jagielski#define MENU_TABLETREE_POPUP			RID_MENU_START +  0
313*b1cdbd2cSJim Jagielski#define MENU_DATASOURCELIST_POPUP		RID_MENU_START +  1
314*b1cdbd2cSJim Jagielski#define RID_SBA_GRID_COLCTXMENU			RID_MENU_START +  2
315*b1cdbd2cSJim Jagielski#define RID_SBA_GRID_ROWCTXMENU			RID_MENU_START +  3
316*b1cdbd2cSJim Jagielski#define MENU_BROWSERTREE_CONTEXT		RID_MENU_START +  4
317*b1cdbd2cSJim Jagielski#define RID_QUERYCOLPOPUPMENU			RID_MENU_START +  5
318*b1cdbd2cSJim Jagielski#define RID_QUERYFUNCTION_POPUPMENU		RID_MENU_START +  6
319*b1cdbd2cSJim Jagielski#define RID_TABLEDESIGNROWPOPUPMENU		RID_MENU_START +  7
320*b1cdbd2cSJim Jagielski#define RID_BRW_TABLEDESIGN_TOOLBOX		RID_MENU_START +  8
321*b1cdbd2cSJim Jagielski#define RID_SBA_RTF_PKEYPOPUP			RID_MENU_START +  9
322*b1cdbd2cSJim Jagielski#define RID_MENU_APP_EDIT				RID_MENU_START + 10
323*b1cdbd2cSJim Jagielski#define RID_MENU_APP_NEW				RID_MENU_START + 11
324*b1cdbd2cSJim Jagielski#define RID_MENU_APP_PREVIEW			RID_MENU_START + 12
325*b1cdbd2cSJim Jagielski#define RID_NEW_FORM					RID_MENU_START + 13
326*b1cdbd2cSJim Jagielski#define MENU_BROWSER_DEFAULTCONTEXT		RID_MENU_START + 14
327*b1cdbd2cSJim Jagielski#define RID_MENU_REFRESH_DATA			RID_MENU_START + 15
328*b1cdbd2cSJim Jagielski#define RID_MENU_JOINVIEW_CONNECTION	RID_MENU_START + 16
329*b1cdbd2cSJim Jagielski#define RID_MENU_JOINVIEW_TABLE			RID_MENU_START + 17
330*b1cdbd2cSJim Jagielski
331*b1cdbd2cSJim Jagielski
332*b1cdbd2cSJim Jagielski
333*b1cdbd2cSJim Jagielski//========================================================================
334*b1cdbd2cSJim Jagielski// controls
335*b1cdbd2cSJim Jagielski
336*b1cdbd2cSJim Jagielski#define RID_DB_TAB_EDITOR				RID_CONTROL_START +  0
337*b1cdbd2cSJim Jagielski#define RID_MYSQL_NATIVE_SETTINGS       RID_CONTROL_START +  1
338*b1cdbd2cSJim Jagielski
339*b1cdbd2cSJim Jagielski//========================================================================
340*b1cdbd2cSJim Jagielski// strings
341*b1cdbd2cSJim Jagielski#define	STR_TBL_TITLE						RID_STR_GEN_START
342*b1cdbd2cSJim Jagielski#define STR_ERROR_DURING_CREATION           RID_STR_GEN_START + 1
343*b1cdbd2cSJim Jagielski#define RID_STR_CONNECTION_LOST				RID_STR_GEN_START + 2
344*b1cdbd2cSJim Jagielski#define STR_NAME_ALREADY_EXISTS             RID_STR_GEN_START + 3
345*b1cdbd2cSJim Jagielski// free
346*b1cdbd2cSJim Jagielski#define STR_TITLE_CONFIRM_DELETION 			RID_STR_GEN_START + 5
347*b1cdbd2cSJim Jagielski#define STR_STAT_WARNING					RID_STR_GEN_START + 6
348*b1cdbd2cSJim Jagielski#define STR_TABLEDESIGN_DATASOURCE_DELETED	RID_STR_GEN_START + 7
349*b1cdbd2cSJim Jagielski#define STR_TABLEDESIGN_DBFIELDTYPES		RID_STR_GEN_START + 8
350*b1cdbd2cSJim Jagielski#define STR_QRY_CONTINUE					RID_STR_GEN_START + 9
351*b1cdbd2cSJim Jagielski#define STR_COLUMN_NAME						RID_STR_GEN_START + 10
352*b1cdbd2cSJim Jagielski#define STR_ERROR_OCCURED_WHILE_COPYING		RID_STR_GEN_START + 11
353*b1cdbd2cSJim Jagielski#define STR_MISSING_TABLES_XDROP			RID_STR_GEN_START + 12
354*b1cdbd2cSJim Jagielski#define STR_QUERY_DELETE_TABLE				RID_STR_GEN_START + 13
355*b1cdbd2cSJim Jagielski#define STR_BUTTON_TEXT_ALL					RID_STR_GEN_START + 14
356*b1cdbd2cSJim Jagielski#define STR_COULDNOTCREATE_DRIVERMANAGER	RID_STR_GEN_START + 15
357*b1cdbd2cSJim Jagielski#define STR_UNEXPECTED_ERROR				RID_STR_GEN_START + 16
358*b1cdbd2cSJim Jagielski#define STR_REMEMBERPASSWORD_SESSION		RID_STR_GEN_START + 17
359*b1cdbd2cSJim Jagielski#define STR_ENTER_CONNECTION_PASSWORD		RID_STR_GEN_START + 18
360*b1cdbd2cSJim Jagielski#define STR_NOREGISTEREDDRIVER				RID_STR_GEN_START + 19
361*b1cdbd2cSJim Jagielski#define STR_DATASOURCE_DELETED				RID_STR_GEN_START + 20
362*b1cdbd2cSJim Jagielski#define STR_QUERY_UNDO_MODIFYSQLEDIT		RID_STR_GEN_START + 21
363*b1cdbd2cSJim Jagielski#define	STR_QRY_TITLE						RID_STR_GEN_START + 22
364*b1cdbd2cSJim Jagielski#define STR_VIEW_TITLE						RID_STR_GEN_START + 23
365*b1cdbd2cSJim Jagielski#define STR_SUB_DOCS_WITH_SCRIPTS           RID_STR_GEN_START + 24
366*b1cdbd2cSJim Jagielski#define STR_SUB_DOCS_WITH_SCRIPTS_DETAIL    RID_STR_GEN_START + 25
367*b1cdbd2cSJim Jagielski#define STR_TABLEDESIGN_DUPLICATE_NAME		RID_STR_GEN_START + 26
368*b1cdbd2cSJim Jagielski#define STR_COULDNOTCONNECT_DATASOURCE		RID_STR_GEN_START + 27
369*b1cdbd2cSJim Jagielski#define STR_NO_TABLE_FORMAT_INSIDE			RID_STR_GEN_START + 28
370*b1cdbd2cSJim Jagielski#define RID_STR_QUERIES_CONTAINER			RID_STR_GEN_START + 29
371*b1cdbd2cSJim Jagielski#define RID_STR_TABLES_CONTAINER			RID_STR_GEN_START + 30
372*b1cdbd2cSJim Jagielski#define STR_NEW_FOLDER						RID_STR_GEN_START + 31
373*b1cdbd2cSJim Jagielski#define RID_STR_FORM						RID_STR_GEN_START + 32
374*b1cdbd2cSJim Jagielski#define RID_STR_REPORT						RID_STR_GEN_START + 33
375*b1cdbd2cSJim Jagielski#define STR_FRM_LABEL						RID_STR_GEN_START + 34
376*b1cdbd2cSJim Jagielski#define STR_RPT_LABEL						RID_STR_GEN_START + 35
377*b1cdbd2cSJim Jagielski#define STR_FOLDER_LABEL					RID_STR_GEN_START + 36
378*b1cdbd2cSJim Jagielski#define STR_TABLEDESIGN_NO_PRIM_KEY_HEAD	RID_STR_GEN_START + 37
379*b1cdbd2cSJim Jagielski#define STR_TABLEDESIGN_NO_PRIM_KEY			RID_STR_GEN_START + 38
380*b1cdbd2cSJim Jagielski    // FREE
381*b1cdbd2cSJim Jagielski#define RID_STR_EXTENSION_NOT_PRESENT       RID_STR_GEN_START + 40
382*b1cdbd2cSJim Jagielski#define RID_STR_EXTENSION_NAME              RID_STR_GEN_START + 41
383*b1cdbd2cSJim Jagielski
384*b1cdbd2cSJim Jagielski//========================================================================
385*b1cdbd2cSJim Jagielski// untyped resources
386*b1cdbd2cSJim Jagielski
387*b1cdbd2cSJim Jagielski// free
388*b1cdbd2cSJim Jagielski#define RSC_CHARSETS					RID_UNTYPED_START +  2
389*b1cdbd2cSJim Jagielski// free
390*b1cdbd2cSJim Jagielski#define RSC_QUERY_OBJECT_TYPE           RID_UNTYPED_START +  4
391*b1cdbd2cSJim Jagielski#define IMG_TABLESUBCRIPTION_SC			RID_UNTYPED_START +  5
392*b1cdbd2cSJim Jagielski#define IMG_TABLESUBCRIPTION_SCH		RID_UNTYPED_START +  6
393*b1cdbd2cSJim Jagielski#define IMG_TABLESUBCRIPTION_LC			RID_UNTYPED_START +  7
394*b1cdbd2cSJim Jagielski#define IMG_TABLESUBCRIPTION_LCH		RID_UNTYPED_START +  8
395*b1cdbd2cSJim Jagielski#define IMG_QUERYADMINISTRATION_SC		RID_UNTYPED_START +  9
396*b1cdbd2cSJim Jagielski#define IMG_QUERYADMINISTRATION_SCH		RID_UNTYPED_START + 10
397*b1cdbd2cSJim Jagielski#define IMG_QUERYADMINISTRATION_LC		RID_UNTYPED_START + 11
398*b1cdbd2cSJim Jagielski#define IMG_QUERYADMINISTRATION_LCH		RID_UNTYPED_START + 12
399*b1cdbd2cSJim Jagielski#define IMG_DOCUMENTLINKS_SC			RID_UNTYPED_START + 13
400*b1cdbd2cSJim Jagielski#define IMG_DOCUMENTLINKS_SCH			RID_UNTYPED_START + 14
401*b1cdbd2cSJim Jagielski#define IMG_DOCUMENTLINKS_LC			RID_UNTYPED_START + 15
402*b1cdbd2cSJim Jagielski#define IMG_DOCUMENTLINKS_LCH			RID_UNTYPED_START + 16
403*b1cdbd2cSJim Jagielski
404*b1cdbd2cSJim Jagielski//========================================================================
405*b1cdbd2cSJim Jagielski// various
406*b1cdbd2cSJim Jagielski
407*b1cdbd2cSJim Jagielski#define PB_FORMAT						RID_MISC_START +  0
408*b1cdbd2cSJim Jagielski#define FIXED_NO_CONNECTION				RID_MISC_START +  1
409*b1cdbd2cSJim Jagielski#define LB_LEFT_TABLE					RID_MISC_START +  2
410*b1cdbd2cSJim Jagielski#define LB_RIGHT_TABLE					RID_MISC_START +  3
411*b1cdbd2cSJim Jagielski#define LB_CONTROL						RID_MISC_START +  4
412*b1cdbd2cSJim Jagielski#define FL_INVOLVED_TABLES				RID_MISC_START +  5
413*b1cdbd2cSJim Jagielski#define FL_INVOLVED_FIELDS				RID_MISC_START +  6
414*b1cdbd2cSJim Jagielski
415*b1cdbd2cSJim Jagielski#endif // _DBU_RESOURCE_HRC_
416*b1cdbd2cSJim Jagielski
417