Update ooo320-m1
[ooovba.git] / xmlsecurity / source / dialogs / dialogs.hrc
blobd53499c2c992794c9a0ea0985245fd82dc6fa053
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  * 
5  * Copyright 2008 by Sun Microsystems, Inc.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * $RCSfile: dialogs.hrc,v $
10  * $Revision: 1.18 $
11  *
12  * This file is part of OpenOffice.org.
13  *
14  * OpenOffice.org is free software: you can redistribute it and/or modify
15  * it under the terms of the GNU Lesser General Public License version 3
16  * only, as published by the Free Software Foundation.
17  *
18  * OpenOffice.org is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  * GNU Lesser General Public License version 3 for more details
22  * (a copy is included in the LICENSE file that accompanied this code).
23  *
24  * You should have received a copy of the GNU Lesser General Public License
25  * version 3 along with OpenOffice.org.  If not, see
26  * <http://www.openoffice.org/license.html>
27  * for a copy of the LGPLv3 License.
28  *
29  ************************************************************************/
31 #ifndef _DIALOGS_HRC
32 #define _DIALOGS_HRC
34 #include <svtools/controldims.hrc>
35 #include <xmlsecurity/global.hrc>
37 #define STD_MASKCOLOR                                   Color{Red=0xffff;Green=0x0000;Blue=0xffff;}
39 #define FL_BOTTOM_SEP                                   50
40 #define BTN_OK                                                  51
41 #define BTN_CANCEL                                              52
42 #define BTN_HELP                                                53
43 #define LB_SIGNATURES                                   54
44 #define BTN_VIEWCERT                                    55
45 #define STR_HEADERBAR                                   56
46 #define BTN_RESET                                               57
47 #define STR_VALID_SIGNATURE             58
48 #define STR_NO_INFO_TO_VERIFY           59
49 #define STR_INVALID_SIGNATURE           60
51 // --------- general metrics ---------
52 #define DLGS_WIDTH                                              287
53 #define DLGS_HEIGHT                                             195
54 // --------- ... for tab dialogs -----
55 #define TP_WIDTH                                                260
56 #define TP_HEIGHT                                               185
57 #define RIDDER_HEIGHT                                   (RSC_CD_PUSHBUTTON_HEIGHT)
58 #define TD_SP_INNERBORDER_LEFT                  3
59 #define TD_SP_INNERBORDER_RIGHT                 3
60 #define TD_SP_INNERBORDER_TOP                   3
61 #define TD_SP_INNERBORDER_BOTTOM                3
62 #define TD_WIDTH                        (TP_WIDTH+RSC_SP_DLG_INNERBORDER_LEFT+RSC_SP_DLG_INNERBORDER_RIGHT)
63 #define TD_HEIGHT                                               (TP_HEIGHT+TD_SP_INNERBORDER_TOP+2*TD_SP_INNERBORDER_BOTTOM+RSC_CD_PUSHBUTTON_HEIGHT+RIDDER_HEIGHT)
65 #define SEP_FL_SPACE_Y                                  6
66 #define SEP_FL_ADJ_Y(val)                               (val-3)
67 #define DLGS_BOTTOM_BTN_L(dlgh)                 (dlgh-RSC_SP_DLG_INNERBORDER_BOTTOM)
68 #define DLGS_BOTTOM_BTN_Y(dlgh)                 (DLGS_BOTTOM_BTN_L(dlgh)-RSC_CD_PUSHBUTTON_HEIGHT)
69 #define DLGS_BOTTOM_FL_Y(dlgh)                  (DLGS_BOTTOM_BTN_Y(dlgh)-SEP_FL_SPACE_Y-5)
70 #define DLGS_BOTTOM_LAST_CTRL_L(dlgh)   (DLGS_BOTTOM_BTN_Y(dlgh)-2*SEP_FL_SPACE_Y-3)
71 #define DLGS_BOTTOM_HELP_X(dlgw)                (dlgw-RSC_SP_DLG_INNERBORDER_RIGHT-RSC_CD_PUSHBUTTON_WIDTH)
72 #define DLGS_BOTTOM_CANCEL_X(dlgw)              (DLGS_BOTTOM_HELP_X(dlgw)-RSC_SP_CTRL_X-RSC_CD_PUSHBUTTON_WIDTH)
73 #define DLGS_BOTTOM_OK_X(dlgw)          (DLGS_BOTTOM_CANCEL_X(dlgw)-RSC_SP_CTRL_DESC_X-RSC_CD_PUSHBUTTON_WIDTH)
76 // --------- dialog Digital Signatures ---------
77 #define BTN_ADDCERT                                             2
78 #define BTN_REMOVECERT                                  3
79 #define FT_HINT_DOC                                             4
80 #define FT_HINT_BASIC                                   5
81 #define FT_HINT_PACK                                    6
82 #define IMG_STATE_VALID                                 7
83 #define FI_STATE_VALID                                  8
84 #define IMG_STATE_BROKEN                9
85 #define FI_STATE_BROKEN                 10
86 #define IMG_STATE_NOTVALIDATED          11
87 #define FI_STATE_NOTVALIDATED           12
88 #define IMG_STATE_VALID_HC              13
89 #define IMG_STATE_BROKEN_HC             14
90 #define IMG_STATE_NOTVALIDATED_HC       15
91 #define FI_STATE_OLDSIGNATURE           16
93 //#define DS_WIDTH                                              DLGS_WIDTH
94 //#define DS_HEIGHT                                             DLGS_HEIGHT
95 #define DS_BTNWIDTH_1                                   70
96 #define DS_BTNSPACE_X                                   RSC_SP_CTRL_X
97 #define DS_WIDTH                                                (RSC_SP_DLG_INNERBORDER_LEFT+RSC_SP_DLG_INNERBORDER_RIGHT+2*DS_BTNSPACE_X+3*DS_BTNWIDTH_1)
98 #define DS_HEIGHT                                               (DLGS_WIDTH*2/3)
100 #define DS_COL_0                                                RSC_SP_DLG_INNERBORDER_LEFT
101 //#define DS_COL_MID                                            (DS_WIDTH/2)
102 //#define DS_COL_3                                              (DS_COL_MID-(DS_BTNWIDTH_1/2))
103 //#define DS_COL_4                                              (DS_COL_2+DS_BTNWIDTH_1)
104 //#define DS_COL_2                                              (DS_COL_3-DS_BTNSPACE_X)
105 //#define DS_COL_1                                              (DS_COL_2-DS_BTNWIDTH_1)
106 #define DS_COL_1                                                DS_COL_0
107 #define DS_COL_2                                                (DS_COL_1+DS_BTNWIDTH_1)
108 #define DS_COL_3                                                (DS_COL_2+DS_BTNSPACE_X)
109 #define DS_COL_4                                                (DS_COL_3+DS_BTNWIDTH_1)
110 #define DS_COL_5                                                (DS_COL_4+DS_BTNSPACE_X)
111 //#define       DS_COL_6                                                (DS_COL_5+DS_BTNWIDTH_1)
112 #define DS_COL_7                                                (DS_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT)
113 #define DS_COL_6                                                DS_COL_7
115 #define DS_ROW_0                                                RSC_SP_DLG_INNERBORDER_TOP
116 #define DS_ROW_1                                                (DS_ROW_0+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_X)
117 #define DS_ROW_7                                                DLGS_BOTTOM_BTN_L(DS_HEIGHT)
118 #define DS_ROW_6                                                DLGS_BOTTOM_BTN_Y(DS_HEIGHT)
119 #define DS_ROW_5                                                DLGS_BOTTOM_FL_Y(DS_HEIGHT)
120 #define DS_ROW_4                                                DLGS_BOTTOM_LAST_CTRL_L(DS_HEIGHT)
121 #define DS_ROW_3                                                (DS_ROW_4-RSC_CD_PUSHBUTTON_HEIGHT)
122 #define DS_ROW_2A                                               (DS_ROW_3-RSC_CD_FIXEDTEXT_HEIGHT-RSC_SP_CTRL_Y)
123 #define DS_ROW_2                                                (DS_ROW_2A-RSC_SP_CTRL_GROUP_Y)
125 #define DS_LB_WIDTH                                             (DS_COL_7-DS_COL_0)
127 // --------- dialog Ceritficate chooser ---------
128 #define FT_HINT_SELECT                                  1
130 #define CS_WIDTH                                                DLGS_WIDTH
131 #define CS_HEIGHT                                               DLGS_HEIGHT
132 #define CS_BTNWIDTH_1                                   DS_BTNWIDTH_1
134 #define CS_COL_0                                                RSC_SP_DLG_INNERBORDER_LEFT
135 #define CS_COL_2                                                (CS_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT)
136 #define CS_COL_1                                                (CS_COL_2-CS_BTNWIDTH_1)
138 #define CS_ROW_0                                                RSC_SP_DLG_INNERBORDER_TOP
139 #define CS_ROW_1                                                (CS_ROW_0+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_X)
140 #define CS_ROW_4                                                DLGS_BOTTOM_LAST_CTRL_L(CS_HEIGHT)
141 #define CS_ROW_3                                                (CS_ROW_4-RSC_CD_PUSHBUTTON_HEIGHT)
142 #define CS_ROW_2                                                (CS_ROW_3-RSC_SP_CTRL_Y)
144 #define CS_LB_WIDTH                                             (CS_COL_2-CS_COL_0)
146 // --------- tab dialog Certificate viewer ---------
148 #define CV_COL_0                                                TD_SP_INNERBORDER_LEFT
149 #define CV_COL_1                                                (TP_WIDTH-RSC_SP_TBPG_INNERBORDER_RIGHT)
150 #define CV_ROW_0                                                RSC_SP_TBPG_INNERBORDER_TOP
151 #define CV_ROW_3                                                (TP_HEIGHT-RSC_SP_TBPG_INNERBORDER_BOTTOM)
152 #define CV_CONT_WIDTH                                   (CV_COL_1-CV_COL_0)
153 #define CV_CONT_HEIGHT                                  (CV_ROW_3-CV_ROW_0)
154 #define CV_ROW_1                                                (CV_ROW_0+2*CV_CONT_HEIGHT/3)
155 #define CV_ROW_2                                                (CV_ROW_1+RSC_SP_CTRL_GROUP_Y)
157 #define CV_COL_D                                                (TD_WIDTH-TD_SP_INNERBORDER_RIGHT)
158 #define CV_COL_C                                                (CV_COL_D-RSC_CD_PUSHBUTTON_WIDTH)
159 #define CV_COL_B                                                (CV_COL_C-RSC_SP_CTRL_X)
160 #define CV_COL_A                                                (CV_COL_B-RSC_CD_PUSHBUTTON_WIDTH)
162 #define CV_ROW_B                                                (TD_HEIGHT-TD_SP_INNERBORDER_BOTTOM)
163 #define CV_ROW_A                                                (CV_ROW_B-RSC_CD_PUSHBUTTON_HEIGHT)
165 // --------- tab page Certificate viewer - General ---------
166 #define WIN_FRAME                                               2
167 #define IMG_CERT                                                3
168 #define FI_CERTINFO                                             4
169 #define FL_SEP1                                                 5
170 #define FI_HINTNOTTRUST                                 6
171 #define FL_SEP2                                                 7
172 #define FI_ISSTOLABEL                                   8
173 #define FI_ISSTO                                                9
174 #define FI_ISSBYLABEL                                   10
175 #define FI_ISSBY                                                11
176 #define FI_VALIDDATE                    12
177 #define IMG_KEY                         13
178 #define FI_CORRPRIVKEY                  14
179 #define STR_CERTIFICATE_NOT_VALIDATED   15
180 #define IMG_STATE_NOT_VALIDATED         16
181 #define IMG_STATE_CERIFICATED_HC        17
182 #define IMG_STATE_NOT_VALIDATED_HC      18
183 #define IMG_KEY_HC                      19
185 #define IMG1_WIDTH                                              33
186 #define IMG1_HEIGHT                                             22
187 #define IMG2_WIDTH                                              20
188 #define IMG2_HEIGHT                                             20
189 #define DATE_WIDTH                                              30
190 #define CW_COL_0                                                (CV_COL_0+RSC_SP_GRP_INNERBORDER_LEFT)
191 #define CW_COL_1                                                (CW_COL_0+RSC_SP_FLGR_SPACE_X)
192 #define CW_COL_1a                                               (CW_COL_0+IMG2_WIDTH+1)
193 #define CW_COL_2                                                (CW_COL_0+IMG1_WIDTH)
194 #define CW_COL_3                                                (CW_COL_2+RSC_SP_CTRL_GROUP_X)
195 #define CW_COL_4                                                (CW_COL_1+40)
196 #define CW_COL_5                                                (CV_CONT_WIDTH-RSC_SP_GRP_INNERBORDER_RIGHT)
197 #define CW_COL_5a                                               (CW_COL_5-RSC_SP_GRP_INNERBORDER_RIGHT)
198 #define CW_COL_4a                                               (CW_COL_1+38)
199 #define CW_COL_4b                                               (CW_COL_4a+DATE_WIDTH)
200 #define CW_COL_4c                                               (CW_COL_4b+3)
201 #define CW_COL_4d                                               (CW_COL_4c+8)
202 #define CW_COL_4e                                               (CW_COL_4d+3)
203 #define CW_ROW_0                                                (CV_ROW_0+RSC_SP_GRP_INNERBORDER_TOP)
204 #define CW_ROW_1                                                (CW_ROW_0+RSC_SP_GRP_INNERBORDER_TOP)
205 #define CW_ROW_2                                                (CW_ROW_0+IMG1_HEIGHT)
206 #define CW_ROW_3                                                (CW_ROW_2+3)
207 #define CW_ROW_4                                                (CW_ROW_3+RSC_SP_CTRL_Y+RSC_CD_FIXEDLINE_HEIGHT)
208 #define CW_ROW_4a                                               (CW_ROW_4+35)
209 #define CW_ROW_5                                                (CW_ROW_4a+3)
210 #define CW_ROW_6                                                (CW_ROW_5+RSC_SP_CTRL_Y+RSC_CD_FIXEDLINE_HEIGHT)
211 #define CW_ROW_7                                                (CW_ROW_6+RSC_SP_CTRL_Y+RSC_CD_FIXEDTEXT_HEIGHT)
212 #define CW_ROW_8                                                (CW_ROW_7+RSC_SP_CTRL_Y+RSC_CD_FIXEDTEXT_HEIGHT)
213 #define CW_ROW_9                                                (CW_ROW_8+RSC_SP_CTRL_Y+RSC_CD_FIXEDTEXT_HEIGHT)
214 #define CW_ROW_10                                               (CW_ROW_9+2)
215 #define CW_ROW_11                                               (CW_ROW_9+IMG2_HEIGHT)
217 // --------- tab page Certificate viewer - Details ---------
219 #define LB_ELEMENTS                                             1
220 #define ML_ELEMENT                                              2
222 #define STR_VERSION                                             1
223 #define STR_SERIALNUM                                   2
224 #define STR_SIGALGORITHM                                3
225 #define STR_ISSUER                                              4
226 #define STR_ISSUER_ID                                   5
227 #define STR_VALIDFROM                                   6
228 #define STR_VALIDTO                                             7
229 #define STR_SUBJECT                                             8
230 #define STR_SUBJECT_ID                                  9
231 #define STR_SUBJECT_PUBKEY_ALGO                 10
232 #define STR_SUBJECT_PUBKEY_VAL                  11
233 #define STR_SIGNATURE_ALGO                              12
234 #define STR_THUMBPRINT_SHA1                             13
235 #define STR_THUMBPRINT_MD5                              14
237 // --------- tab page Certificate viewer - Certification Path ---------
239 #define FT_CERTPATH                                             1
240 #define FT_CERTSTATUS                                   2
241 #define ML_CERTSTATUS                                   3
242 #define IMG_CERT_SMALL                  4
243 #define IMG_CERT_SMALL_HC               5
244 #define IMG_CERT_NOTVALIDATED_SMALL     6
245 #define IMG_CERT_NOTVALIDATED_SMALL_HC  7
246 #define STR_PATH_CERT_OK                8
247 #define STR_PATH_CERT_NOT_VALIDATED     9
249 #define CVP_ROW_0                       RSC_SP_TBPG_INNERBORDER_TOP
250 #define CVP_ROW_1                       (CVP_ROW_0+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
251 #define REST_HEIGHT                     (TP_HEIGHT-CVP_ROW_1-2*RSC_SP_GRP_SPACE_Y-RSC_CD_FIXEDTEXT_HEIGHT-RSC_CD_PUSHBUTTON_HEIGHT)
252 #define CVP_ROW_2                       (CVP_ROW_1+REST_HEIGHT/3*2+RSC_SP_CTRL_DESC_Y)
253 #define CVP_ROW_3                       (CVP_ROW_2+RSC_CD_PUSHBUTTON_HEIGHT)
254 #define CVP_ROW_4                       (CVP_ROW_3+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
256 //#define CV_ROW_0A                      (CV_ROW_0+RSC_SP_CTRL_DESC_Y+RSC_CD_FIXEDTEXT_HEIGHT)
257 //#define CV_ROW_2A                      (CV_ROW_2+RSC_SP_CTRL_DESC_Y+RSC_CD_FIXEDTEXT_HEIGHT)
259 // --------- tab dialog macro security ---------
261 #define MS_COL_A                        (TD_WIDTH-RSC_SP_DLG_INNERBORDER_LEFT)
262 #define MS_COL_B                                                (MS_COL_A-RSC_CD_PUSHBUTTON_WIDTH)
263 #define MS_COL_C                                                (MS_COL_B-RSC_SP_CTRL_X)
264 #define MS_COL_D                                                (MS_COL_C-RSC_CD_PUSHBUTTON_WIDTH)
265 #define MS_COL_E                                                (MS_COL_D-RSC_SP_CTRL_X)
266 #define MS_COL_F                                                (MS_COL_E-RSC_CD_PUSHBUTTON_WIDTH)
267 #define MS_COL_G                                                (MS_COL_F-RSC_SP_CTRL_X)
268 #define MS_COL_H                                                (MS_COL_G-RSC_CD_PUSHBUTTON_WIDTH)
270 // --------- tab page security level ---------
272 #define FL_SECLEVEL                                             1
273 #define RB_VERYHIGH                                             2
274 #define RB_HIGH                                                 3
275 #define RB_MEDIUM                                               4
276 #define RB_LOW                                                  5
277 #define FI_SEC_READONLY                 6
279 #define RSC_BIG_RADIOBUTTON             40
280 #define SL_RB_DIST_Y                    (RSC_SP_FLGR_SPACE_Y+RSC_BIG_RADIOBUTTON)
281 #define SL_COL_0                        RSC_SP_TBPG_INNERBORDER_LEFT
282 #define SL_COL_1                                                (SL_COL_0+RSC_SP_FLGR_SPACE_X)
283 #define SL_COL_3                                                (TP_WIDTH-RSC_SP_TBPG_INNERBORDER_RIGHT)
284 #define SL_COL_2                        ((SL_COL_3-SL_COL_1)*100/105)
285 #define SL_ROW_0                                                RSC_SP_TBPG_INNERBORDER_TOP
286 #define SL_ROW_1                        (SL_ROW_0+SL_RB_DIST_Y)
287 #define SL_ROW_2                        (SL_ROW_1+SL_RB_DIST_Y)
288 #define SL_ROW_3                        (SL_ROW_2+SL_RB_DIST_Y)
289 #define SL_ROW_4                        (TP_HEIGHT-RSC_SP_TBPG_INNERBORDER_BOTTOM)
291 // --------- tab page trusted sources ---------
293 #define FL_TRUSTCERT                                    1
294 #define LB_TRUSTCERT                                    2
295 #define PB_ADD_TRUSTCERT                                3
296 #define PB_VIEW_TRUSTCERT                               4
297 #define PB_REMOVE_TRUSTCERT                             5
298 #define FL_TRUSTFILELOC                                 6
299 #define FI_TRUSTFILELOC                                 7
300 #define LB_TRUSTFILELOC                                 8
301 #define FL_ADD_TRUSTFILELOC                             9
302 #define FL_REMOVE_TRUSTFILELOC                  10
303 #define FI_TRUSTCERT_RO                 11
304 #define FI_TRUSTFILE_RO                 12
306 #define TS_COL_0                        RSC_SP_TBPG_INNERBORDER_LEFT
307 #define TS_COL_1                                                (TS_COL_0+RSC_SP_FLGR_SPACE_X)
308 #define TS_COL_8                        (TP_WIDTH-RSC_SP_TBPG_INNERBORDER_RIGHT)
309 #define TS_COL_7                        (TS_COL_8-RSC_SP_FLGR_SPACE_X)
310 #define TS_COL_6                        (TS_COL_7-RSC_CD_PUSHBUTTON_WIDTH)
311 #define TS_COL_5                                                (TS_COL_6-RSC_SP_CTRL_GROUP_X)
312 #define TS_COL_4                                                (TS_COL_5-RSC_CD_PUSHBUTTON_WIDTH)
313 #define TS_COL_3                                                (TS_COL_4-RSC_SP_CTRL_GROUP_X)
314 #define TS_COL_2                                                (TS_COL_3-RSC_CD_PUSHBUTTON_WIDTH)
316 #define RSC_CD_TABLISTBOX_HEIGHT        6*RSC_BS_CHARHEIGHT
317 #define TS_ROW_0                        RSC_SP_TBPG_INNERBORDER_TOP
318 #define TS_ROW_1                        (TS_ROW_0+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_SPACE_Y)
319 #define TS_ROW_2                        (TS_ROW_1+RSC_CD_TABLISTBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
320 #define TS_ROW_3                        (TS_ROW_2+RSC_CD_PUSHBUTTON_HEIGHT+RSC_SP_FLGR_SPACE_Y)
321 #define TS_ROW_4                        (TS_ROW_3+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_SPACE_Y)
322 #define TS_ROW_5                        (TS_ROW_4+3*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_FLGR_SPACE_Y)
324 #define TS_ROW_8                        (TP_HEIGHT-RSC_SP_TBPG_INNERBORDER_BOTTOM)
325 #define TS_ROW_7                        (TS_ROW_8-RSC_CD_PUSHBUTTON_HEIGHT)
326 #define TS_ROW_6                        (TS_ROW_7-RSC_SP_FLGR_SPACE_Y)
328 // --------- signed macro warning ---------
330 #define FI_DOCNAME                                              1
331 #define FI_DESCR1A                                              2
332 #define FI_SIGNS                                                3
333 #define PB_VIEWSIGNS                                    4
334 #define FI_DESCR2                                               5
335 #define CB_ALWAYSTRUST                                  6
336 #define PB_ENABLE                                               7
337 #define PB_DISABLE                                              8
338 #define FI_DESCR1B                                              9
340 #define MW_WIDTH                                                DLGS_WIDTH
341 #define MW_HEIGHT                                               DLGS_HEIGHT
343 #define MW_SYMBOL_WIDTH                                 (20)
345 #define MW_COL_0                                                (RSC_SP_DLG_INNERBORDER_LEFT)
346 #define MW_COL_1                                                (MW_COL_0+MW_SYMBOL_WIDTH)
347 #define MW_COL_4                                                (MW_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT)
348 #define MW_COL_3                                                (MW_COL_4-RSC_CD_PUSHBUTTON_WIDTH)
349 #define MW_COL_2                                                (MW_COL_3-RSC_SP_CTRL_DESC_X)
350 #define MW_COL_A                                                (DLGS_BOTTOM_OK_X(MW_WIDTH))
351 #define MW_COL_C                                                (DLGS_BOTTOM_CANCEL_X(MW_WIDTH))
352 #define MW_COL_E                                                (DLGS_BOTTOM_HELP_X(MW_WIDTH))
353 #define MW_ROW_0                                                (RSC_SP_DLG_INNERBORDER_TOP)
354 #define MW_ROW_1                                                (MW_ROW_0+3*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_Y)
355 #define MW_ROW_2                                                (MW_ROW_1+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_Y)
356 #define MW_ROW_7                                                (MW_HEIGHT-RSC_SP_DLG_INNERBORDER_BOTTOM)
357 #define MW_ROW_6                                                (DLGS_BOTTOM_BTN_Y(MW_HEIGHT))
358 #define MW_ROW_5                                                (DLGS_BOTTOM_FL_Y(MW_HEIGHT))
359 #define MW_ROW_4                                                (MW_ROW_5-RSC_CD_CHECKBOX_HEIGHT-RSC_SP_CTRL_Y)
360 #define MW_ROW_3                                                (MW_ROW_4-4*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_Y)
362 #endif