update dev300-m58
[ooovba.git] / xmlsecurity / source / dialogs / dialogs.hrc
blob20cf96e51320f4cac93bc00bcdd2ebb618c1822b
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
92 //#define DS_WIDTH                                              DLGS_WIDTH
93 //#define DS_HEIGHT                                             DLGS_HEIGHT
94 #define DS_BTNWIDTH_1                                   70
95 #define DS_BTNSPACE_X                                   RSC_SP_CTRL_X
96 #define DS_WIDTH                                                (RSC_SP_DLG_INNERBORDER_LEFT+RSC_SP_DLG_INNERBORDER_RIGHT+2*DS_BTNSPACE_X+3*DS_BTNWIDTH_1)
97 #define DS_HEIGHT                                               (DLGS_WIDTH*2/3)
99 #define DS_COL_0                                                RSC_SP_DLG_INNERBORDER_LEFT
100 //#define DS_COL_MID                                            (DS_WIDTH/2)
101 //#define DS_COL_3                                              (DS_COL_MID-(DS_BTNWIDTH_1/2))
102 //#define DS_COL_4                                              (DS_COL_2+DS_BTNWIDTH_1)
103 //#define DS_COL_2                                              (DS_COL_3-DS_BTNSPACE_X)
104 //#define DS_COL_1                                              (DS_COL_2-DS_BTNWIDTH_1)
105 #define DS_COL_1                                                DS_COL_0
106 #define DS_COL_2                                                (DS_COL_1+DS_BTNWIDTH_1)
107 #define DS_COL_3                                                (DS_COL_2+DS_BTNSPACE_X)
108 #define DS_COL_4                                                (DS_COL_3+DS_BTNWIDTH_1)
109 #define DS_COL_5                                                (DS_COL_4+DS_BTNSPACE_X)
110 //#define       DS_COL_6                                                (DS_COL_5+DS_BTNWIDTH_1)
111 #define DS_COL_7                                                (DS_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT)
112 #define DS_COL_6                                                DS_COL_7
114 #define DS_ROW_0                                                RSC_SP_DLG_INNERBORDER_TOP
115 #define DS_ROW_1                                                (DS_ROW_0+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_X)
116 #define DS_ROW_7                                                DLGS_BOTTOM_BTN_L(DS_HEIGHT)
117 #define DS_ROW_6                                                DLGS_BOTTOM_BTN_Y(DS_HEIGHT)
118 #define DS_ROW_5                                                DLGS_BOTTOM_FL_Y(DS_HEIGHT)
119 #define DS_ROW_4                                                DLGS_BOTTOM_LAST_CTRL_L(DS_HEIGHT)
120 #define DS_ROW_3                                                (DS_ROW_4-RSC_CD_PUSHBUTTON_HEIGHT)
121 #define DS_ROW_2A                                               (DS_ROW_3-RSC_CD_FIXEDTEXT_HEIGHT-RSC_SP_CTRL_Y)
122 #define DS_ROW_2                                                (DS_ROW_2A-RSC_SP_CTRL_GROUP_Y)
124 #define DS_LB_WIDTH                                             (DS_COL_7-DS_COL_0)
126 // --------- dialog Ceritficate chooser ---------
127 #define FT_HINT_SELECT                                  1
129 #define CS_WIDTH                                                DLGS_WIDTH
130 #define CS_HEIGHT                                               DLGS_HEIGHT
131 #define CS_BTNWIDTH_1                                   DS_BTNWIDTH_1
133 #define CS_COL_0                                                RSC_SP_DLG_INNERBORDER_LEFT
134 #define CS_COL_2                                                (CS_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT)
135 #define CS_COL_1                                                (CS_COL_2-CS_BTNWIDTH_1)
137 #define CS_ROW_0                                                RSC_SP_DLG_INNERBORDER_TOP
138 #define CS_ROW_1                                                (CS_ROW_0+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_X)
139 #define CS_ROW_4                                                DLGS_BOTTOM_LAST_CTRL_L(CS_HEIGHT)
140 #define CS_ROW_3                                                (CS_ROW_4-RSC_CD_PUSHBUTTON_HEIGHT)
141 #define CS_ROW_2                                                (CS_ROW_3-RSC_SP_CTRL_Y)
143 #define CS_LB_WIDTH                                             (CS_COL_2-CS_COL_0)
145 // --------- tab dialog Certificate viewer ---------
147 #define CV_COL_0                                                TD_SP_INNERBORDER_LEFT
148 #define CV_COL_1                                                (TP_WIDTH-RSC_SP_TBPG_INNERBORDER_RIGHT)
149 #define CV_ROW_0                                                RSC_SP_TBPG_INNERBORDER_TOP
150 #define CV_ROW_3                                                (TP_HEIGHT-RSC_SP_TBPG_INNERBORDER_BOTTOM)
151 #define CV_CONT_WIDTH                                   (CV_COL_1-CV_COL_0)
152 #define CV_CONT_HEIGHT                                  (CV_ROW_3-CV_ROW_0)
153 #define CV_ROW_1                                                (CV_ROW_0+2*CV_CONT_HEIGHT/3)
154 #define CV_ROW_2                                                (CV_ROW_1+RSC_SP_CTRL_GROUP_Y)
156 #define CV_COL_D                                                (TD_WIDTH-TD_SP_INNERBORDER_RIGHT)
157 #define CV_COL_C                                                (CV_COL_D-RSC_CD_PUSHBUTTON_WIDTH)
158 #define CV_COL_B                                                (CV_COL_C-RSC_SP_CTRL_X)
159 #define CV_COL_A                                                (CV_COL_B-RSC_CD_PUSHBUTTON_WIDTH)
161 #define CV_ROW_B                                                (TD_HEIGHT-TD_SP_INNERBORDER_BOTTOM)
162 #define CV_ROW_A                                                (CV_ROW_B-RSC_CD_PUSHBUTTON_HEIGHT)
164 // --------- tab page Certificate viewer - General ---------
165 #define WIN_FRAME                                               2
166 #define IMG_CERT                                                3
167 #define FI_CERTINFO                                             4
168 #define FL_SEP1                                                 5
169 #define FI_HINTNOTTRUST                                 6
170 #define FL_SEP2                                                 7
171 #define FI_ISSTOLABEL                                   8
172 #define FI_ISSTO                                                9
173 #define FI_ISSBYLABEL                                   10
174 #define FI_ISSBY                                                11
175 #define FI_VALIDDATE                    12
176 #define IMG_KEY                         13
177 #define FI_CORRPRIVKEY                  14
178 #define STR_CERTIFICATE_NOT_VALIDATED   15
179 #define IMG_STATE_NOT_VALIDATED         16
180 #define IMG_STATE_CERIFICATED_HC        17
181 #define IMG_STATE_NOT_VALIDATED_HC      18
182 #define IMG_KEY_HC                      19
184 #define IMG1_WIDTH                                              33
185 #define IMG1_HEIGHT                                             22
186 #define IMG2_WIDTH                                              20
187 #define IMG2_HEIGHT                                             20
188 #define DATE_WIDTH                                              30
189 #define CW_COL_0                                                (CV_COL_0+RSC_SP_GRP_INNERBORDER_LEFT)
190 #define CW_COL_1                                                (CW_COL_0+RSC_SP_FLGR_SPACE_X)
191 #define CW_COL_1a                                               (CW_COL_0+IMG2_WIDTH+1)
192 #define CW_COL_2                                                (CW_COL_0+IMG1_WIDTH)
193 #define CW_COL_3                                                (CW_COL_2+RSC_SP_CTRL_GROUP_X)
194 #define CW_COL_4                                                (CW_COL_1+40)
195 #define CW_COL_5                                                (CV_CONT_WIDTH-RSC_SP_GRP_INNERBORDER_RIGHT)
196 #define CW_COL_5a                                               (CW_COL_5-RSC_SP_GRP_INNERBORDER_RIGHT)
197 #define CW_COL_4a                                               (CW_COL_1+38)
198 #define CW_COL_4b                                               (CW_COL_4a+DATE_WIDTH)
199 #define CW_COL_4c                                               (CW_COL_4b+3)
200 #define CW_COL_4d                                               (CW_COL_4c+8)
201 #define CW_COL_4e                                               (CW_COL_4d+3)
202 #define CW_ROW_0                                                (CV_ROW_0+RSC_SP_GRP_INNERBORDER_TOP)
203 #define CW_ROW_1                                                (CW_ROW_0+RSC_SP_GRP_INNERBORDER_TOP)
204 #define CW_ROW_2                                                (CW_ROW_0+IMG1_HEIGHT)
205 #define CW_ROW_3                                                (CW_ROW_2+3)
206 #define CW_ROW_4                                                (CW_ROW_3+RSC_SP_CTRL_Y+RSC_CD_FIXEDLINE_HEIGHT)
207 #define CW_ROW_4a                                               (CW_ROW_4+35)
208 #define CW_ROW_5                                                (CW_ROW_4a+3)
209 #define CW_ROW_6                                                (CW_ROW_5+RSC_SP_CTRL_Y+RSC_CD_FIXEDLINE_HEIGHT)
210 #define CW_ROW_7                                                (CW_ROW_6+RSC_SP_CTRL_Y+RSC_CD_FIXEDTEXT_HEIGHT)
211 #define CW_ROW_8                                                (CW_ROW_7+RSC_SP_CTRL_Y+RSC_CD_FIXEDTEXT_HEIGHT)
212 #define CW_ROW_9                                                (CW_ROW_8+RSC_SP_CTRL_Y+RSC_CD_FIXEDTEXT_HEIGHT)
213 #define CW_ROW_10                                               (CW_ROW_9+2)
214 #define CW_ROW_11                                               (CW_ROW_9+IMG2_HEIGHT)
216 // --------- tab page Certificate viewer - Details ---------
218 #define LB_ELEMENTS                                             1
219 #define ML_ELEMENT                                              2
221 #define STR_VERSION                                             1
222 #define STR_SERIALNUM                                   2
223 #define STR_SIGALGORITHM                                3
224 #define STR_ISSUER                                              4
225 #define STR_ISSUER_ID                                   5
226 #define STR_VALIDFROM                                   6
227 #define STR_VALIDTO                                             7
228 #define STR_SUBJECT                                             8
229 #define STR_SUBJECT_ID                                  9
230 #define STR_SUBJECT_PUBKEY_ALGO                 10
231 #define STR_SUBJECT_PUBKEY_VAL                  11
232 #define STR_SIGNATURE_ALGO                              12
233 #define STR_THUMBPRINT_SHA1                             13
234 #define STR_THUMBPRINT_MD5                              14
236 // --------- tab page Certificate viewer - Certification Path ---------
238 #define FT_CERTPATH                                             1
239 #define FT_CERTSTATUS                                   2
240 #define ML_CERTSTATUS                                   3
241 #define IMG_CERT_SMALL                  4
242 #define IMG_CERT_SMALL_HC               5
243 #define IMG_CERT_NOTVALIDATED_SMALL     6
244 #define IMG_CERT_NOTVALIDATED_SMALL_HC  7
245 #define STR_PATH_CERT_OK                8
246 #define STR_PATH_CERT_NOT_VALIDATED     9
248 #define CVP_ROW_0                       RSC_SP_TBPG_INNERBORDER_TOP
249 #define CVP_ROW_1                       (CVP_ROW_0+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
250 #define REST_HEIGHT                     (TP_HEIGHT-CVP_ROW_1-2*RSC_SP_GRP_SPACE_Y-RSC_CD_FIXEDTEXT_HEIGHT-RSC_CD_PUSHBUTTON_HEIGHT)
251 #define CVP_ROW_2                       (CVP_ROW_1+REST_HEIGHT/3*2+RSC_SP_CTRL_DESC_Y)
252 #define CVP_ROW_3                       (CVP_ROW_2+RSC_CD_PUSHBUTTON_HEIGHT)
253 #define CVP_ROW_4                       (CVP_ROW_3+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
255 //#define CV_ROW_0A                      (CV_ROW_0+RSC_SP_CTRL_DESC_Y+RSC_CD_FIXEDTEXT_HEIGHT)
256 //#define CV_ROW_2A                      (CV_ROW_2+RSC_SP_CTRL_DESC_Y+RSC_CD_FIXEDTEXT_HEIGHT)
258 // --------- tab dialog macro security ---------
260 #define MS_COL_A                        (TD_WIDTH-RSC_SP_DLG_INNERBORDER_LEFT)
261 #define MS_COL_B                                                (MS_COL_A-RSC_CD_PUSHBUTTON_WIDTH)
262 #define MS_COL_C                                                (MS_COL_B-RSC_SP_CTRL_X)
263 #define MS_COL_D                                                (MS_COL_C-RSC_CD_PUSHBUTTON_WIDTH)
264 #define MS_COL_E                                                (MS_COL_D-RSC_SP_CTRL_X)
265 #define MS_COL_F                                                (MS_COL_E-RSC_CD_PUSHBUTTON_WIDTH)
266 #define MS_COL_G                                                (MS_COL_F-RSC_SP_CTRL_X)
267 #define MS_COL_H                                                (MS_COL_G-RSC_CD_PUSHBUTTON_WIDTH)
269 // --------- tab page security level ---------
271 #define FL_SECLEVEL                                             1
272 #define RB_VERYHIGH                                             2
273 #define RB_HIGH                                                 3
274 #define RB_MEDIUM                                               4
275 #define RB_LOW                                                  5
276 #define FI_SEC_READONLY                 6
278 #define RSC_BIG_RADIOBUTTON             40
279 #define SL_RB_DIST_Y                    (RSC_SP_FLGR_SPACE_Y+RSC_BIG_RADIOBUTTON)
280 #define SL_COL_0                        RSC_SP_TBPG_INNERBORDER_LEFT
281 #define SL_COL_1                                                (SL_COL_0+RSC_SP_FLGR_SPACE_X)
282 #define SL_COL_3                                                (TP_WIDTH-RSC_SP_TBPG_INNERBORDER_RIGHT)
283 #define SL_COL_2                        ((SL_COL_3-SL_COL_1)*100/105)
284 #define SL_ROW_0                                                RSC_SP_TBPG_INNERBORDER_TOP
285 #define SL_ROW_1                        (SL_ROW_0+SL_RB_DIST_Y)
286 #define SL_ROW_2                        (SL_ROW_1+SL_RB_DIST_Y)
287 #define SL_ROW_3                        (SL_ROW_2+SL_RB_DIST_Y)
288 #define SL_ROW_4                        (TP_HEIGHT-RSC_SP_TBPG_INNERBORDER_BOTTOM)
290 // --------- tab page trusted sources ---------
292 #define FL_TRUSTCERT                                    1
293 #define LB_TRUSTCERT                                    2
294 #define PB_ADD_TRUSTCERT                                3
295 #define PB_VIEW_TRUSTCERT                               4
296 #define PB_REMOVE_TRUSTCERT                             5
297 #define FL_TRUSTFILELOC                                 6
298 #define FI_TRUSTFILELOC                                 7
299 #define LB_TRUSTFILELOC                                 8
300 #define FL_ADD_TRUSTFILELOC                             9
301 #define FL_REMOVE_TRUSTFILELOC                  10
302 #define FI_TRUSTCERT_RO                 11
303 #define FI_TRUSTFILE_RO                 12
305 #define TS_COL_0                        RSC_SP_TBPG_INNERBORDER_LEFT
306 #define TS_COL_1                                                (TS_COL_0+RSC_SP_FLGR_SPACE_X)
307 #define TS_COL_8                        (TP_WIDTH-RSC_SP_TBPG_INNERBORDER_RIGHT)
308 #define TS_COL_7                        (TS_COL_8-RSC_SP_FLGR_SPACE_X)
309 #define TS_COL_6                        (TS_COL_7-RSC_CD_PUSHBUTTON_WIDTH)
310 #define TS_COL_5                                                (TS_COL_6-RSC_SP_CTRL_GROUP_X)
311 #define TS_COL_4                                                (TS_COL_5-RSC_CD_PUSHBUTTON_WIDTH)
312 #define TS_COL_3                                                (TS_COL_4-RSC_SP_CTRL_GROUP_X)
313 #define TS_COL_2                                                (TS_COL_3-RSC_CD_PUSHBUTTON_WIDTH)
315 #define RSC_CD_TABLISTBOX_HEIGHT        6*RSC_BS_CHARHEIGHT
316 #define TS_ROW_0                        RSC_SP_TBPG_INNERBORDER_TOP
317 #define TS_ROW_1                        (TS_ROW_0+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_SPACE_Y)
318 #define TS_ROW_2                        (TS_ROW_1+RSC_CD_TABLISTBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
319 #define TS_ROW_3                        (TS_ROW_2+RSC_CD_PUSHBUTTON_HEIGHT+RSC_SP_FLGR_SPACE_Y)
320 #define TS_ROW_4                        (TS_ROW_3+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_SPACE_Y)
321 #define TS_ROW_5                        (TS_ROW_4+3*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_FLGR_SPACE_Y)
323 #define TS_ROW_8                        (TP_HEIGHT-RSC_SP_TBPG_INNERBORDER_BOTTOM)
324 #define TS_ROW_7                        (TS_ROW_8-RSC_CD_PUSHBUTTON_HEIGHT)
325 #define TS_ROW_6                        (TS_ROW_7-RSC_SP_FLGR_SPACE_Y)
327 // --------- signed macro warning ---------
329 #define FI_DOCNAME                                              1
330 #define FI_DESCR1A                                              2
331 #define FI_SIGNS                                                3
332 #define PB_VIEWSIGNS                                    4
333 #define FI_DESCR2                                               5
334 #define CB_ALWAYSTRUST                                  6
335 #define PB_ENABLE                                               7
336 #define PB_DISABLE                                              8
337 #define FI_DESCR1B                                              9
339 #define MW_WIDTH                                                DLGS_WIDTH
340 #define MW_HEIGHT                                               DLGS_HEIGHT
342 #define MW_SYMBOL_WIDTH                                 (20)
344 #define MW_COL_0                                                (RSC_SP_DLG_INNERBORDER_LEFT)
345 #define MW_COL_1                                                (MW_COL_0+MW_SYMBOL_WIDTH)
346 #define MW_COL_4                                                (MW_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT)
347 #define MW_COL_3                                                (MW_COL_4-RSC_CD_PUSHBUTTON_WIDTH)
348 #define MW_COL_2                                                (MW_COL_3-RSC_SP_CTRL_DESC_X)
349 #define MW_COL_A                                                (DLGS_BOTTOM_OK_X(MW_WIDTH))
350 #define MW_COL_C                                                (DLGS_BOTTOM_CANCEL_X(MW_WIDTH))
351 #define MW_COL_E                                                (DLGS_BOTTOM_HELP_X(MW_WIDTH))
352 #define MW_ROW_0                                                (RSC_SP_DLG_INNERBORDER_TOP)
353 #define MW_ROW_1                                                (MW_ROW_0+3*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_Y)
354 #define MW_ROW_2                                                (MW_ROW_1+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_Y)
355 #define MW_ROW_7                                                (MW_HEIGHT-RSC_SP_DLG_INNERBORDER_BOTTOM)
356 #define MW_ROW_6                                                (DLGS_BOTTOM_BTN_Y(MW_HEIGHT))
357 #define MW_ROW_5                                                (DLGS_BOTTOM_FL_Y(MW_HEIGHT))
358 #define MW_ROW_4                                                (MW_ROW_5-RSC_CD_CHECKBOX_HEIGHT-RSC_SP_CTRL_Y)
359 #define MW_ROW_3                                                (MW_ROW_4-4*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_Y)
361 #endif