1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir 28*cdf0e10cSrcweir#ifndef _SVX_DOCRECOVERY_HRC 29*cdf0e10cSrcweir#define _SVX_DOCRECOVERY_HRC 30*cdf0e10cSrcweir 31*cdf0e10cSrcweir#include <svtools/controldims.hrc> 32*cdf0e10cSrcweir 33*cdf0e10cSrcweir// general 34*cdf0e10cSrcweir 35*cdf0e10cSrcweir#define PROGR_HEIGHT (RSC_CD_PUSHBUTTON_HEIGHT) 36*cdf0e10cSrcweir 37*cdf0e10cSrcweir// TabDialog 38*cdf0e10cSrcweir#define TABDLG_WIDTH 290 39*cdf0e10cSrcweir#define TABDLG_HEIGHT 238 40*cdf0e10cSrcweir 41*cdf0e10cSrcweir// TabPage CrashSave 42*cdf0e10cSrcweir 43*cdf0e10cSrcweir#define WIN_SAVE_TITLE 1 44*cdf0e10cSrcweir#define FT_SAVE_TITLE 2 45*cdf0e10cSrcweir#define FL_SAVE_TITLE 3 46*cdf0e10cSrcweir#define FT_SAVE_DESCR 4 47*cdf0e10cSrcweir#define FT_SAVE_FILELIST 5 48*cdf0e10cSrcweir#define LB_SAVE_FILELIST 6 49*cdf0e10cSrcweir#define CB_SAVE_LAUNCHAUTO 7 50*cdf0e10cSrcweir#define FL_SAVE_BOTTOM 8 51*cdf0e10cSrcweir#define BT_SAVE_OK 9 52*cdf0e10cSrcweir 53*cdf0e10cSrcweir 54*cdf0e10cSrcweir#define SAVE_WIDTH 290 55*cdf0e10cSrcweir#define SAVE_HEIGHT 238 56*cdf0e10cSrcweir#define SAVE_TITLEWINHEIGHT 36 57*cdf0e10cSrcweir#define SAVE_DESCRHEIGHT 48 58*cdf0e10cSrcweir#define SAVE_COL0 (RSC_SP_DLG_INNERBORDER_LEFT) 59*cdf0e10cSrcweir#define SAVE_COL2 (SAVE_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT) 60*cdf0e10cSrcweir#define SAVE_COL1 (SAVE_COL2-RSC_CD_PUSHBUTTON_WIDTH) 61*cdf0e10cSrcweir#define SAVE_ROW0 ((SAVE_TITLEWINHEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2) 62*cdf0e10cSrcweir#define SAVE_ROW1 (SAVE_TITLEWINHEIGHT) 63*cdf0e10cSrcweir#define SAVE_ROW2 (SAVE_ROW1+RSC_SP_CTRL_Y) 64*cdf0e10cSrcweir#define SAVE_ROW3 (SAVE_ROW2+3*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y) 65*cdf0e10cSrcweir#define SAVE_ROW4 (SAVE_ROW3+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y) 66*cdf0e10cSrcweir#define SAVE_ROW9 (SAVE_HEIGHT-RSC_SP_DLG_INNERBORDER_BOTTOM) 67*cdf0e10cSrcweir#define SAVE_ROW8 (SAVE_ROW9-RSC_CD_PUSHBUTTON_HEIGHT) 68*cdf0e10cSrcweir#define SAVE_ROW7 (SAVE_ROW8-RSC_SP_CTRL_GROUP_Y-RSC_CD_FIXEDLINE_HEIGHT) 69*cdf0e10cSrcweir#define SAVE_ROW6 (SAVE_ROW7-RSC_SP_CTRL_GROUP_Y-RSC_CD_CHECKBOX_HEIGHT) 70*cdf0e10cSrcweir#define SAVE_ROW5 (SAVE_ROW6-RSC_SP_CTRL_Y) 71*cdf0e10cSrcweir#define SAVE_FILELISTHEIGHT (SAVE_ROW5-SAVE_ROW4) 72*cdf0e10cSrcweir#define SAVE_CONTROLWIDTH (SAVE_COL2-SAVE_COL0) 73*cdf0e10cSrcweir 74*cdf0e10cSrcweir// Save Progress Dialog 75*cdf0e10cSrcweir 76*cdf0e10cSrcweir#define FT_SAVEPROGR_HINT 1 77*cdf0e10cSrcweir#define FT_SAVEPROGR_PROGR 2 78*cdf0e10cSrcweir#define WIN_SAVEPROGR_PROGR 3 79*cdf0e10cSrcweir 80*cdf0e10cSrcweir#define SAVEPROGR_WIDTH 240 81*cdf0e10cSrcweir#define SAVEPROGR_COL0 (RSC_SP_DLG_INNERBORDER_LEFT) 82*cdf0e10cSrcweir#define SAVEPROGR_COL1 (SAVEPROGR_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT) 83*cdf0e10cSrcweir#define SAVEPROGR_ROW0 (RSC_SP_DLG_INNERBORDER_TOP) 84*cdf0e10cSrcweir#define SAVEPROGR_ROW1 (SAVEPROGR_ROW0+2*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_Y) 85*cdf0e10cSrcweir#define SAVEPROGR_ROW2 (SAVEPROGR_ROW1+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y) 86*cdf0e10cSrcweir#define SAVEPROGR_ROW3 (SAVEPROGR_ROW2+PROGR_HEIGHT) 87*cdf0e10cSrcweir#define SAVEPROGR_CONTROLWIDTH (SAVEPROGR_COL1-SAVEPROGR_COL0) 88*cdf0e10cSrcweir#define SAVEPROGR_HEIGHT (SAVEPROGR_ROW3+RSC_SP_DLG_INNERBORDER_BOTTOM) 89*cdf0e10cSrcweir 90*cdf0e10cSrcweir// TabPage Recovery 91*cdf0e10cSrcweir 92*cdf0e10cSrcweir#define WIN_RECOV_TITLE 1 93*cdf0e10cSrcweir#define FT_RECOV_TITLE 2 94*cdf0e10cSrcweir#define FL_RECOV_TITLE 3 95*cdf0e10cSrcweir#define FT_RECOV_DESCR 4 96*cdf0e10cSrcweir#define FT_RECOV_PROGR 5 97*cdf0e10cSrcweir#define WIN_RECOV_PROGR 6 98*cdf0e10cSrcweir#define FT_RECOV_FILELIST 7 99*cdf0e10cSrcweir#define LB_RECOV_FILELIST 8 100*cdf0e10cSrcweir#define FL_RECOV_BOTTOM 9 101*cdf0e10cSrcweir#define BTN_RECOV_PREV 10 102*cdf0e10cSrcweir#define BTN_RECOV_NEXT 11 103*cdf0e10cSrcweir#define BTN_RECOV_CANCEL 12 104*cdf0e10cSrcweir#define STR_HEADERBAR 13 105*cdf0e10cSrcweir#define IMG_GREENCHECK 14 106*cdf0e10cSrcweir#define IMG_YELLOWCHECK 15 107*cdf0e10cSrcweir#define IMG_REDCROSS 16 108*cdf0e10cSrcweir#define IMG_GREENCHECK_HC 17 109*cdf0e10cSrcweir#define IMG_YELLOWCHECK_HC 18 110*cdf0e10cSrcweir#define IMG_REDCROSS_HC 19 111*cdf0e10cSrcweir#define STR_SUCCESSRECOV 20 112*cdf0e10cSrcweir#define STR_ORIGDOCRECOV 21 113*cdf0e10cSrcweir#define STR_RECOVFAILED 22 114*cdf0e10cSrcweir#define STR_RECOVINPROGR 23 115*cdf0e10cSrcweir#define STR_NOTRECOVYET 24 116*cdf0e10cSrcweir#define STR_RECOVERY_NEXT 25 117*cdf0e10cSrcweir#define STR_RECOVERY_INPROGRESS 26 118*cdf0e10cSrcweir#define STR_RECOVERY_REPORT 27 119*cdf0e10cSrcweir#define STR_RECOVERYONLY_FINISH_DESCR 28 120*cdf0e10cSrcweir#define STR_RECOVERYONLY_FINISH 29 121*cdf0e10cSrcweir 122*cdf0e10cSrcweir#define RECOV_WIDTH SAVE_WIDTH 123*cdf0e10cSrcweir#define RECOV_HEIGHT SAVE_HEIGHT 124*cdf0e10cSrcweir#define RECOV_TITLEWINHEIGHT SAVE_TITLEWINHEIGHT 125*cdf0e10cSrcweir#define RECOV_DESCRHEIGHT 6*RSC_CD_FIXEDTEXT_HEIGHT 126*cdf0e10cSrcweir#define RECOV_COL1 (RSC_SP_DLG_INNERBORDER_LEFT) 127*cdf0e10cSrcweir#define RECOV_COL2 40 128*cdf0e10cSrcweir#define RECOV_COL3 (RECOV_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT) 129*cdf0e10cSrcweir#define RECOV_COL_A (RECOV_COL1) 130*cdf0e10cSrcweir#define RECOV_COL_B (COL_1+RSC_CD_PUSHBUTTON_WIDTH) 131*cdf0e10cSrcweir#define RECOV_COL_G (RECOV_COL3) 132*cdf0e10cSrcweir#define RECOV_COL_F (RECOV_COL_G-RSC_CD_PUSHBUTTON_WIDTH) 133*cdf0e10cSrcweir#define RECOV_COL_E (RECOV_COL_F-RSC_SP_CTRL_X) 134*cdf0e10cSrcweir#define RECOV_COL_D (RECOV_COL_E-RSC_CD_PUSHBUTTON_WIDTH) 135*cdf0e10cSrcweir#define RECOV_COL_C (RECOV_COL_D-RSC_CD_PUSHBUTTON_WIDTH) 136*cdf0e10cSrcweir#define RECOV_ROW0 ((RECOV_TITLEWINHEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2) 137*cdf0e10cSrcweir#define RECOV_ROW1 (RECOV_TITLEWINHEIGHT) 138*cdf0e10cSrcweir#define RECOV_ROW2 (RECOV_ROW1+RSC_SP_CTRL_Y) 139*cdf0e10cSrcweir#define RECOV_ROW3 (RECOV_ROW2+RECOV_DESCRHEIGHT+RSC_SP_CTRL_DESC_Y) 140*cdf0e10cSrcweir#define RECOV_ROW4 (RECOV_ROW3+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y) 141*cdf0e10cSrcweir#define RECOV_ROW5 (RECOV_ROW4+PROGR_HEIGHT+RSC_SP_CTRL_GROUP_Y) 142*cdf0e10cSrcweir#define RECOV_ROW6 (RECOV_ROW5+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y) 143*cdf0e10cSrcweir#define RECOV_ROW10 (RECOV_HEIGHT-RSC_SP_DLG_INNERBORDER_BOTTOM) 144*cdf0e10cSrcweir#define RECOV_ROW9 (RECOV_ROW10-RSC_CD_PUSHBUTTON_HEIGHT) 145*cdf0e10cSrcweir#define RECOV_ROW8 (RECOV_ROW9-RSC_SP_CTRL_GROUP_Y-RSC_CD_FIXEDLINE_HEIGHT) 146*cdf0e10cSrcweir#define RECOV_ROW7 (RECOV_ROW8-RSC_SP_CTRL_GROUP_Y) 147*cdf0e10cSrcweir#define RECOV_FILELISTHEIGHT (RECOV_ROW7-RECOV_ROW6) 148*cdf0e10cSrcweir#define RECOV_CONTROLWIDTH (SAVE_COL2-SAVE_COL0) 149*cdf0e10cSrcweir 150*cdf0e10cSrcweir// TabPage Broken Recovery 151*cdf0e10cSrcweir 152*cdf0e10cSrcweir#define FT_BROKEN_DESCR 1 153*cdf0e10cSrcweir#define FT_BROKEN_FILELIST 2 154*cdf0e10cSrcweir#define LB_BROKEN_FILELIST 3 155*cdf0e10cSrcweir#define FT_BROKEN_SAVEDIR 4 156*cdf0e10cSrcweir#define ED_BROKEN_SAVEDIR 5 157*cdf0e10cSrcweir#define BTN_BROKEN_SAVEDIR 6 158*cdf0e10cSrcweir#define FL_BROKEN_BOTTOM 7 159*cdf0e10cSrcweir#define BTN_BROKEN_OK 8 160*cdf0e10cSrcweir#define BTN_BROKEN_CANCEL 9 161*cdf0e10cSrcweir 162*cdf0e10cSrcweir#define BROKEN_WIDTH 210 163*cdf0e10cSrcweir#define BROKEN_HEIGHT 160 164*cdf0e10cSrcweir#define BROKEN_COL0 (RSC_SP_DLG_INNERBORDER_LEFT) 165*cdf0e10cSrcweir#define BROKEN_COL4 (BROKEN_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT) 166*cdf0e10cSrcweir#define BROKEN_COL3 (BROKEN_COL4-RSC_CD_PUSHBUTTON_WIDTH) 167*cdf0e10cSrcweir#define BROKEN_COL2 (BROKEN_COL3-RSC_SP_CTRL_GROUP_X) 168*cdf0e10cSrcweir#define BROKEN_COL1 (BROKEN_COL2-RSC_CD_PUSHBUTTON_WIDTH) 169*cdf0e10cSrcweir 170*cdf0e10cSrcweir#define BROKEN_ROW0 (RSC_SP_DLG_INNERBORDER_TOP) 171*cdf0e10cSrcweir#define BROKEN_ROW1 (BROKEN_ROW0+5*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_GROUP_Y) 172*cdf0e10cSrcweir#define BROKEN_ROW2 (BROKEN_ROW1+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_GROUP_Y) 173*cdf0e10cSrcweir#define BROKEN_ROW8 (BROKEN_HEIGHT-RSC_SP_DLG_INNERBORDER_BOTTOM) 174*cdf0e10cSrcweir#define BROKEN_ROW7 (BROKEN_ROW8-RSC_CD_PUSHBUTTON_HEIGHT) 175*cdf0e10cSrcweir#define BROKEN_ROW6 (BROKEN_ROW7-RSC_SP_FLGR_INNERBORDER_BOTTOM-RSC_CD_FIXEDLINE_HEIGHT) 176*cdf0e10cSrcweir#define BROKEN_ROW5 (BROKEN_ROW6-RSC_SP_FLGR_INNERBORDER_TOP-RSC_CD_PUSHBUTTON_HEIGHT) 177*cdf0e10cSrcweir#define BROKEN_ROW4 (BROKEN_ROW5-RSC_SP_CTRL_GROUP_Y-RSC_CD_FIXEDTEXT_HEIGHT) 178*cdf0e10cSrcweir#define BROKEN_ROW3 (BROKEN_ROW4-RSC_SP_CTRL_GROUP_Y) 179*cdf0e10cSrcweir 180*cdf0e10cSrcweir#define BROKEN_CONTROLWIDTH (BROKEN_COL4-BROKEN_COL0) 181*cdf0e10cSrcweir 182*cdf0e10cSrcweir// TabPage Error Report Welcome 183*cdf0e10cSrcweir// most defines equal to TabPage Recovery 184*cdf0e10cSrcweir 185*cdf0e10cSrcweir#define RECOV_DESCR_HEIGHT (RECOV_ROW7-RECOV_ROW2) 186*cdf0e10cSrcweir 187*cdf0e10cSrcweir// TabPage Error Report Send 188*cdf0e10cSrcweir// borrow basic metrics from TabPage Recovery 189*cdf0e10cSrcweir 190*cdf0e10cSrcweir#define FT_ERRSEND_DOCTYPE 20 191*cdf0e10cSrcweir#define ED_ERRSEND_DOCTYPE 21 192*cdf0e10cSrcweir#define FT_ERRSEND_USING 22 193*cdf0e10cSrcweir#define ML_ERRSEND_USING 23 194*cdf0e10cSrcweir#define BTN_ERRSEND_SHOWREP 24 195*cdf0e10cSrcweir#define BTN_ERRSEND_OPT 25 196*cdf0e10cSrcweir#define CB_ERRSEND_CONTACT 26 197*cdf0e10cSrcweir#define FT_ERRSEND_EMAILADDR 27 198*cdf0e10cSrcweir#define ED_ERRSEND_EMAILADDR 28 199*cdf0e10cSrcweir 200*cdf0e10cSrcweir#define ERRSEND_WIDTH (RECOV_WIDTH) 201*cdf0e10cSrcweir#define ERRSEND_HEIGHT (RECOV_HEIGHT) 202*cdf0e10cSrcweir#define ERRSEND_TITLEWINHEIGHT SAVE_TITLEWINHEIGHT 203*cdf0e10cSrcweir 204*cdf0e10cSrcweir#define ERRSEND_COL0 (RSC_SP_DLG_INNERBORDER_LEFT) 205*cdf0e10cSrcweir#define ERRSEND_COL1 (ERRSEND_COL0+RSC_SP_CHK_TEXTINDENT) 206*cdf0e10cSrcweir 207*cdf0e10cSrcweir#define ERRSEND_COL4 (ERRSEND_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT) 208*cdf0e10cSrcweir#define ERRSEND_COL3 (ERRSEND_COL4-RSC_CD_PUSHBUTTON_WIDTH) 209*cdf0e10cSrcweir#define ERRSEND_COL2 (ERRSEND_COL3-RSC_SP_CTRL_X) 210*cdf0e10cSrcweir 211*cdf0e10cSrcweir#define ERRSEND_COL6 (ERRSEND_COL3-RSC_SP_CTRL_GROUP_X-RSC_CD_PUSHBUTTON_WIDTH) 212*cdf0e10cSrcweir#define ERRSEND_COL5 (ERRSEND_COL6-RSC_SP_CTRL_X-RSC_CD_PUSHBUTTON_WIDTH) 213*cdf0e10cSrcweir 214*cdf0e10cSrcweir#define ERRSEND_CONTROLWIDTH1 (ERRSEND_COL4-ERRSEND_COL0) 215*cdf0e10cSrcweir#define ERRSEND_CONTROLWIDTH2 (ERRSEND_COL2-ERRSEND_COL0) 216*cdf0e10cSrcweir#define ERRSEND_CONTROLWIDTH3 (ERRSEND_COL2-ERRSEND_COL1) 217*cdf0e10cSrcweir 218*cdf0e10cSrcweir#define ERRSEND_ROW0 ((ERRSEND_TITLEWINHEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2) 219*cdf0e10cSrcweir#define ERRSEND_ROW1 (ERRSEND_TITLEWINHEIGHT) 220*cdf0e10cSrcweir#define ERRSEND_ROW2 (ERRSEND_ROW1+RSC_SP_CTRL_Y) 221*cdf0e10cSrcweir#define ERRSEND_ROW3 (ERRSEND_ROW2+3*RSC_CD_FIXEDTEXT_HEIGHT) 222*cdf0e10cSrcweir#define ERRSEND_ROW4 (ERRSEND_ROW3+RSC_SP_CTRL_GROUP_Y) 223*cdf0e10cSrcweir#define ERRSEND_ROW5 (ERRSEND_ROW4+2*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_GROUP_Y) 224*cdf0e10cSrcweir#define ERRSEND_ROW6 (ERRSEND_ROW5+RSC_CD_TEXTBOX_HEIGHT) 225*cdf0e10cSrcweir#define ERRSEND_ROW7 (ERRSEND_ROW6+RSC_SP_CTRL_Y) 226*cdf0e10cSrcweir#define ERRSEND_ROW8 (ERRSEND_ROW7+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_GROUP_Y) 227*cdf0e10cSrcweir#define ERRSEND_ROW9 (ERRSEND_ROW8+RSC_CD_PUSHBUTTON_HEIGHT) 228*cdf0e10cSrcweir#define ERRSEND_ROW10 (ERRSEND_ROW9+RSC_SP_CTRL_GROUP_Y) 229*cdf0e10cSrcweir#define ERRSEND_ROW11 (ERRSEND_ROW10+RSC_CD_PUSHBUTTON_HEIGHT) 230*cdf0e10cSrcweir 231*cdf0e10cSrcweir#define ERRSEND_ROW16 (ERRSEND_HEIGHT-RSC_SP_DLG_INNERBORDER_RIGHT-RSC_CD_PUSHBUTTON_HEIGHT) 232*cdf0e10cSrcweir#define ERRSEND_ROW15 (ERRSEND_ROW16-RSC_SP_CTRL_GROUP_Y-RSC_CD_FIXEDLINE_HEIGHT) 233*cdf0e10cSrcweir#define ERRSEND_ROW14 (ERRSEND_ROW15-RSC_SP_CTRL_GROUP_Y-RSC_CD_TEXTBOX_HEIGHT) 234*cdf0e10cSrcweir#define ERRSEND_ROW13 (ERRSEND_ROW14-RSC_SP_CTRL_GROUP_Y-RSC_CD_FIXEDTEXT_HEIGHT) 235*cdf0e10cSrcweir#define ERRSEND_ROW12 (ERRSEND_ROW13-RSC_SP_CTRL_GROUP_Y-RSC_CD_CHECKBOX_HEIGHT) 236*cdf0e10cSrcweir 237*cdf0e10cSrcweir// Error Report Options Dialog 238*cdf0e10cSrcweir 239*cdf0e10cSrcweir#define ERROPT_WIDTH 220 240*cdf0e10cSrcweir#define ERROPT_HEIGHT 180 241*cdf0e10cSrcweir 242*cdf0e10cSrcweir#define FL_ERROPT_PROXY 1 243*cdf0e10cSrcweir#define BTN_ERROPT_SYSTEM 2 244*cdf0e10cSrcweir#define BTN_ERROPT_DIRECT 3 245*cdf0e10cSrcweir#define BTN_ERROPT_MANUAL 4 246*cdf0e10cSrcweir#define FT_ERROPT_PROXYSERVER 5 247*cdf0e10cSrcweir#define ED_ERROPT_PROXYSERVER 6 248*cdf0e10cSrcweir#define FT_ERROPT_PROXYPORT 7 249*cdf0e10cSrcweir#define ED_ERROPT_PROXYPORT 8 250*cdf0e10cSrcweir#define FT_ERROPT_DESCRIPTION 9 251*cdf0e10cSrcweir#define FL_ERROPT_BUTTONS 10 252*cdf0e10cSrcweir#define BTN_ERROPT_OK 11 253*cdf0e10cSrcweir#define BTN_ERROPT_CANCEL 12 254*cdf0e10cSrcweir 255*cdf0e10cSrcweir#define ERROPT_COLA (RSC_SP_DLG_INNERBORDER_LEFT) 256*cdf0e10cSrcweir#define ERROPT_COLB (ERROPT_COLA + RSC_SP_CTRL_X) 257*cdf0e10cSrcweir#define ERROPT_COLC (ERROPT_COLB + RSC_SP_CHK_TEXTINDENT) 258*cdf0e10cSrcweir 259*cdf0e10cSrcweir#define ERROPT_COLF (ERROPT_WIDTH - RSC_SP_DLG_INNERBORDER_RIGHT) 260*cdf0e10cSrcweir#define ERROPT_COLE (ERROPT_COLF - RSC_CD_PUSHBUTTON_WIDTH) 261*cdf0e10cSrcweir#define ERROPT_COLD (ERROPT_COLE - RSC_SP_CTRL_DESC_X - RSC_CD_PUSHBUTTON_WIDTH) 262*cdf0e10cSrcweir 263*cdf0e10cSrcweir#define ERROPT_ROW0 (RSC_SP_DLG_INNERBORDER_TOP) 264*cdf0e10cSrcweir#define ERROPT_ROW1 (ERROPT_ROW0 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_CTRL_Y) 265*cdf0e10cSrcweir#define ERROPT_ROW2 (ERROPT_ROW1 + RSC_CD_RADIOBUTTON_HEIGHT + RSC_SP_CTRL_GROUP_Y) 266*cdf0e10cSrcweir#define ERROPT_ROW3 (ERROPT_ROW2 + RSC_CD_RADIOBUTTON_HEIGHT + RSC_SP_CTRL_GROUP_Y) 267*cdf0e10cSrcweir#define ERROPT_ROW4 (ERROPT_ROW3 + RSC_CD_RADIOBUTTON_HEIGHT + RSC_SP_CTRL_GROUP_Y) 268*cdf0e10cSrcweir#define ERROPT_ROW5 (ERROPT_ROW4 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y) 269*cdf0e10cSrcweir#define ERROPT_ROW6 (ERROPT_ROW5 + RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_Y) 270*cdf0e10cSrcweir 271*cdf0e10cSrcweir#define ERROPT_ROW9 (ERROPT_HEIGHT - RSC_SP_DLG_INNERBORDER_BOTTOM - RSC_CD_PUSHBUTTON_HEIGHT) 272*cdf0e10cSrcweir#define ERROPT_ROW8 (ERROPT_ROW9 - RSC_SP_CTRL_DESC_Y - RSC_CD_FIXEDLINE_HEIGHT) 273*cdf0e10cSrcweir#define ERROPT_ROW7 (ERROPT_ROW8 - RSC_SP_CTRL_DESC_Y) 274*cdf0e10cSrcweir 275*cdf0e10cSrcweir#define ERROPT_SERVER_WIDTH 150 276*cdf0e10cSrcweir#define ERROPT_PORT_WIDTH (ERROPT_COLF-ERROPT_COLC-RSC_SP_CTRL_GROUP_X-ERROPT_SERVER_WIDTH) 277*cdf0e10cSrcweir 278*cdf0e10cSrcweir// Error Report Preview Dialog 279*cdf0e10cSrcweir 280*cdf0e10cSrcweir#define ERRPREVIEW_WIDTH 300 281*cdf0e10cSrcweir#define ERRPREVIEW_HEIGHT 200 282*cdf0e10cSrcweir 283*cdf0e10cSrcweir#define ML_ERRPREVIEW_CONTENT 1 284*cdf0e10cSrcweir#define BTN_ERRPREVIEW_OK 2 285*cdf0e10cSrcweir#define ERRPREVIEW_COLA (RSC_SP_DLG_INNERBORDER_LEFT) 286*cdf0e10cSrcweir#define ERRPREVIEW_COLB (ERRPREVIEW_WIDTH - RSC_SP_DLG_INNERBORDER_RIGHT - RSC_CD_PUSHBUTTON_WIDTH) 287*cdf0e10cSrcweir#define ERRPREVIEW_COLC (ERRPREVIEW_WIDTH - RSC_SP_DLG_INNERBORDER_RIGHT) 288*cdf0e10cSrcweir#define ERRPREVIEW_ROW0 (RSC_SP_DLG_INNERBORDER_TOP) 289*cdf0e10cSrcweir#define ERRPREVIEW_ROW1 (ERRPREVIEW_ROW2 - RSC_SP_CTRL_Y) 290*cdf0e10cSrcweir#define ERRPREVIEW_ROW2 (ERRPREVIEW_HEIGHT - RSC_SP_DLG_INNERBORDER_BOTTOM - RSC_CD_PUSHBUTTON_HEIGHT) 291*cdf0e10cSrcweir 292*cdf0e10cSrcweir#endif 293