/
Crimson2/alias/
Crimson2/area.tmp/
Crimson2/area.tmp/AnomalySpaceDock/
Crimson2/area.tmp/AnomalyStation/
Crimson2/area.tmp/AntHill/
Crimson2/area.tmp/ArcticTerrarium/
Crimson2/area.tmp/BuilderCity/
Crimson2/area.tmp/Dungeon/
Crimson2/area.tmp/MiningDock/
Crimson2/area.tmp/PipeSystem/
Crimson2/area.tmp/RattArea/
Crimson2/area.tmp/RobotFactory/
Crimson2/area.tmp/SilverDale/
Crimson2/area.tmp/StarshipFearless/
Crimson2/area.tmp/StationConduits/
Crimson2/area.tmp/TerrariumAlpha/
Crimson2/area.tmp/TerrariumBeta/
Crimson2/area.tmp/TestArea/
Crimson2/area.tmp/Void/
Crimson2/area/
Crimson2/area/AnomalySpaceDock/
Crimson2/area/AnomalyStation/
Crimson2/area/MiningDock/
Crimson2/area/PipeSystem/
Crimson2/area/SilverDale/
Crimson2/area/StationConduits/
Crimson2/area/Void/
Crimson2/board/
Crimson2/clone/
Crimson2/lib/
Crimson2/mole/
Crimson2/mole/mole_src/HELP/
Crimson2/player/
Crimson2/util/
Crimson2/wldedit/
Crimson2/wldedit/res/
// ****************************************************************************
// Copyright (C) B. Cameron Lesiuk, 1999. All rights reserved.
// Permission to use/copy this code is granted for non-commercial use only.
// B. Cameron Lesiuk
// Victoria, BC, Canada
// wi961@freenet.victoria.bc.ca
// ****************************************************************************
/* MOLE Resource Header File
 * The numbering convention is so:
 *   Bitmaps   0x1000-0x1FFF
 *               0x1000-0x17FF are for general-purpose bitmaps
 *               0x1800-0x1FFF are for bingo-card bitmaps as so:
 *                 0x1800-0x18FF : "BINGO" headers  (required)
 *                 0x1900-0x19FF : Undabbed square (required)
 *                 0x1A00-0x1AFF : dabbed square   (optional)
 *                 0x1B00-0x1BFF : cursor           (optional)  // This is actually a cursor resource
 *                 0x1C00-0x1CFF : Style name (required) // This is actually a string resource
 *               The bitmaps are automatically loaded - the end-of-bitmaps
 *               is recognized by a NULL returned by LoadBitmap function.
 *               NOTE NOTE: This structure IS ASSUMED, unlike the rest of
 *                          this definition! Well, the markers
 *   Menus     0x2000-0x2FFF
 *   Dialogs   0x3000-0x3FFF
 *   Strings   0x4000-0x4FFF
 *   Fonts     0x0100-0x01FF
 *   Accel..   0x0200-0x02FF // UNUSED BECAUSE THEY SUCK AND DON'T WORK PROPERLY!
 *   RC Data   0x5000-0x5FFF
 *   Cursors   0x0300-0x03FF
 *   Icons     0x0400-0x04FF
 *   Version   0x0500-0x05FF
 *   DlgInit   0x6000-0x6FFF
 *
 * These are not set in stone - it's just to keep things organized
 * in this file. This convention SHOULD NOT BE ASSUMED anywhere in
 * the actual code, except where noted!!!
 * NOTE: Don't use anything over 0x7FFFF unless your resource compiler
 * can handle it - borland's compiler can't.
 */

/* first, some standard declarations */
#ifndef IDOK
#define IDOK                1
#endif
#ifndef IDCANCEL
#define IDCANCEL            2
#endif
#ifndef IDABORT
#define IDABORT             3
#endif
#ifndef IDRETRY
#define IDRETRY             4
#endif
#ifndef IDIGNORE
#define IDIGNORE            5
#endif
#ifndef IDYES
#define IDYES               6
#endif
#ifndef IDNO
#define IDNO                7
#endif
#ifndef IDHELP
#define IDHELP            998
#endif

/* ICONS */
#define ICON_MOLE   0x0400
#define ICON_GLOBE  0x0401
#define ICON_GLOBEP 0x0402
#define ICON_GLOBEM 0x0403
#define ICON_MOB    0x0404
#define ICON_MOBS   0x0405
#define ICON_MOBSP  0x0406
#define ICON_MOBSM  0x0407
#define ICON_OBJ    0x0408
#define ICON_OBJP   0x0409
#define ICON_OBJM   0x040A
#define ICON_MAP    0x040B
#define ICON_MAPP   0x040C
#define ICON_MAPM   0x040D
#define ICON_RESET  0x040E
#define ICON_ARROWGREENRIGHT    0x040F
#define ICON_ARROWGREENDOWN     0x0410
#define ICON_ARROWREDRIGHT      0x0411
#define ICON_ARROWREDDOWN       0x0412
#define ICON_ARROWBLUERIGHT     0x0413
#define ICON_ARROWBLUEDOWN      0x0414
#define ICON_ARROWYELLOWRIGHT   0x0415
#define ICON_ARROWYELLOWDOWN    0x0416
#define ICON_ANSITERM           0x0417

/* Accelerators */
#define ACC_MAIN  0x0200

/* MENUS */
#define MENU_MAIN               0x2000
#define CM_MAINFILEDISCONNECT   0x2001
#define CM_MAINFILECONNECT      0x2002
#define CM_MAINFILEEXIT         0x2003
#define CM_MAINVIEWAREALIST     0x2010
#define CM_MAINVIEWTERMINAL     0x2011
#define CM_MAINEDITPASTE        0x2020
#define CM_MAINEDITCOPY         0x2021
#define CM_MAINEDITCUT          0x2022
#define CM_MAINEDITEDIT         0x2023
#define CM_MAINEDITNEWAREA      0x2024
#define CM_MAINEDITNEWWORLD     0x2024
#define CM_MAINEDITNEWMOBILE    0x2024
#define CM_MAINEDITNEWOBJECT    0x2024
#define CM_MAINHELPCONTENTS     0x2030
#define CM_MAINHELPSEARCH       0x2031
#define CM_MAINHELPHOWTOUSE     0x2032
#define CM_MAINHELPABOUT        0x2033

#define CM_QUICKEDIT            0x2100 /* pop-up quick-menu */
#define CM_QUICKEDITAREA        0x2101 /* pop-up quick-menu */
#define CM_QUICKEDITRESET       0x2102 /* pop-up quick-menu */
#define CM_QUICKCOPY            0x2103 /* pop-up quick-menu */
#define CM_QUICKPASTE           0x2104 /* pop-up quick-menu */
#define CM_QUICKNEW             0x2105
#define CM_QUICKRELOAD          0x2106

#define MENU_ANSITERM           0x2200
#define CM_ANSICLOSE            0x2201
#define CM_ANSIEDITCOPY         0x2202
#define CM_ANSIEDITPASTE        0x2203
#define CM_ANSIOPTIONSTERMSET   0x2204
#define CM_ANSIOPTIONSFNKEYS    0x2205
#define CM_ANSIOPTIONSFONT      0x2206

/* Dialog Boxes */
#define DIALOG_LOGIN            0x3000
#define IDC_LOGINLOGINID        0x3001
#define IDC_LOGINPASSWORD       0x3002

#define DIALOG_NEWHOST          0x3010
#define IDC_NEWHOSTDESCRIPTION  0x3011
#define IDC_NEWHOSTIP           0x3012
#define IDC_NEWHOSTPORT         0x3013
#define IDC_NEWHOSTLOGINID      0x3014
#define IDC_NEWHOSTPASSWORD     0x3015

#define DIALOG_OPENHOST         0x3020
#define IDC_OPENHOSTLIST        0x3021
#define IDC_OPENHOSTTELNET      0x3022
#define IDC_OPENHOSTEDITHOST    0x3023
#define IDC_OPENHOSTNEWHOST     0x3024
#define IDC_OPENHOSTDELETEHOST  0x3025

#define DIALOG_ABOUT            0x3030
#define IDC_ABOUTCONNECTED      0x3031
#define IDC_ABOUTSERVER         0x3032
#define IDC_ABOUTCLIENT         0x3033
#define IDC_ABOUTSYSRES         0x3034
#define IDC_ABOUTSYSMEM         0x3035

#define DIALOG_INFOBOX          0x3040
#define IDC_INFOBOX_TEXT        0x3041
#define IDC_INFOBOX_HELP        0x3042

#define DIALOG_CONNECT          0x3050
#define IDC_CONNECTTEXT         0x3051

#define DIALOG_TERMINAL         0x3060
#define IDC_TERMINALSCREEN	    0x3061
#define IDC_TERMINALCOMMAND	    0x3063

#define DIALOG_EDITMOB          0x3070
#define IDC_EDITMOBVIRTUAL      0x3071
#define IDC_CTEXT4	14
#define IDC_CTEXT3	13
#define IDC_CTEXT2	12
#define IDC_CTEXT1	11
#define IDC_EDITMOBACTIVESTART  0x3072 /* START */
#define IDC_EDITMOBNAME         0x3073
#define IDC_EDITMOBKEY          0x3074
#define IDC_EDITMOBLDESC        0x3075
#define IDC_EDITMOBDESC         0x3076
#define IDC_EDITMOBTYPE         0x3077
#define IDC_EDITMOBSEX          0x3078
#define IDC_EDITMOBPOSITION     0x3079
#define IDC_EDITMOBLEVEL        0x307A
#define IDC_EDITMOBEXP          0x307B
#define IDC_EDITMOBMONEY        0x307C
#define IDC_EDITMOBAURA         0x307D
#define IDC_EDITMOBWEIGHT       0x307E
#define IDC_EDITMOBARMOR        0x307F
#define IDC_EDITMOBHPDICENUM    0x3080
#define IDC_EDITMOBHPDICESIZE   0x3081
#define IDC_EDITMOBHPBONUS      0x3082
#define IDC_EDITMOBHITBONUS     0x3083
#define IDC_EDITMOBDAMDICENUM   0x3084
#define IDC_EDITMOBDAMDICESIZE  0x3085
#define IDC_EDITMOBDAMBONUS     0x3086
#define IDC_EDITMOBACTIONFLAGS  0x3087
#define IDC_EDITMOBAFFECTFLAGS  0x3088
#define IDC_EDITMOBEXTRA        0x3089
#define IDC_EDITMOBEXTRANEW     0x308A
#define IDC_EDITMOBEXTRAEDIT    0x308B
#define IDC_EDITMOBEXTRADELETE  0x308C
#define IDC_EDITMOBPROPERTY     0x308D
#define IDC_EDITMOBPROPERTYNEW  0x308E
#define IDC_EDITMOBPROPERTYEDIT 0x308F
#define IDC_EDITMOBPROPERTYDELETE 0x3090
#define IDC_EDITMOBPREVIOUS     0x3091
#define IDC_EDITMOBNEXT         0x3092
#define IDC_EDITMOBSTATDEFAULT  0x3093
#define IDC_EDITMOBCOPY         0x3094
#define IDC_EDITMOBPASTE        0x3095
#define IDC_EDITMOBACTIVEEND    IDC_EDITMOBPASTE /* END */

#define DIALOG_EDITPROP         0x30B0
#define IDC_EDITPROPDESC        0x30B1
#define IDC_EDITPROPKEY         0x30B2

#define DIALOG_EDITFLAG         0x30C0
#define IDC_EDITFLAG_FLAG1      0x30C1
#define IDC_EDITFLAG_FLAG2      0x30C2
#define IDC_EDITFLAG_FLAG3      0x30C3
#define IDC_EDITFLAG_FLAG4      0x30C4
#define IDC_EDITFLAG_FLAG5      0x30C5
#define IDC_EDITFLAG_FLAG6      0x30C6
#define IDC_EDITFLAG_FLAG7      0x30C7
#define IDC_EDITFLAG_FLAG8      0x30C8
#define IDC_EDITFLAG_FLAG9      0x30C9
#define IDC_EDITFLAG_FLAG10     0x30CA
#define IDC_EDITFLAG_FLAG11     0x30CB
#define IDC_EDITFLAG_FLAG12     0x30CC
#define IDC_EDITFLAG_FLAG13     0x30CD
#define IDC_EDITFLAG_FLAG14     0x30CE
#define IDC_EDITFLAG_FLAG15     0x30CF
#define IDC_EDITFLAG_FLAG16     0x30D0
#define IDC_EDITFLAG_FLAG17     0x30D1
#define IDC_EDITFLAG_FLAG18     0x30D2
#define IDC_EDITFLAG_FLAG19     0x30D3
#define IDC_EDITFLAG_FLAG20     0x30D4
#define IDC_EDITFLAG_FLAG21     0x30D5
#define IDC_EDITFLAG_FLAG22     0x30D6
#define IDC_EDITFLAG_FLAG23     0x30D7
#define IDC_EDITFLAG_FLAG24     0x30D8
#define IDC_EDITFLAG_FLAG25     0x30D9
#define IDC_EDITFLAG_FLAG26     0x30DA
#define IDC_EDITFLAG_FLAG27     0x30DB
#define IDC_EDITFLAG_FLAG28     0x30DC
#define IDC_EDITFLAG_FLAG29     0x30DD
#define IDC_EDITFLAG_FLAG30     0x30DE
#define IDC_EDITFLAG_FLAG31     0x30DF
#define IDC_EDITFLAG_FLAG32     0x30E0

#define DIALOG_EDITWLD          0x30F0
#define IDC_EDITWLDVIRTUAL      0x30F1
#define IDC_EDITWLDACTIVESTART  0x30F2 /* start of active components */
#define IDC_EDITWLDNAME         0x30F2
#define IDC_EDITWLDTYPE         0x30F3
#define IDC_EDITWLDFLAGS        0x30F4
#define IDC_EDITWLDDESC         0x30F5
#define IDC_EDITWLDEXTRA        0x30F6
#define IDC_EDITWLDEXTRANEW     0x30F7
#define IDC_EDITWLDEXTRAEDIT    0x30F8
#define IDC_EDITWLDEXTRADELETE  0x30F9
#define IDC_EDITWLDPROPERTY     0x30FA
#define IDC_EDITWLDPROPERTYNEW  0x30FB
#define IDC_EDITWLDPROPERTYEDIT 0x30FC
#define IDC_EDITWLDPROPERTYDELETE 0x30FD
#define IDC_EDITWLDPREVIOUS     0x30FE
#define IDC_EDITWLDNEXT         0x30FF
#define IDC_EDITWLDCOPY         0x3100
#define IDC_EDITWLDPASTE        0x3101
#define IDC_EDITWLDACTIVEEND    IDC_EDITWLDPASTE /* end of active components */
#define IDC_EDITWLDEXITSTART    0x3102 /* the following are controlled (enable/disable) separately */
#define IDC_EDITWLDEXITNUMELEMNTS 7    /* number of elements in each direction cluster */
#define IDC_EDITWLDD0           (IDC_EDITWLDEXITSTART+(0*IDC_EDITWLDEXITNUMELEMNTS)+0x0000)
#define IDC_EDITWLDD0TO         (IDC_EDITWLDEXITSTART+(0*IDC_EDITWLDEXITNUMELEMNTS)+0x0001)
#define IDC_EDITWLDD0KEY        (IDC_EDITWLDEXITSTART+(0*IDC_EDITWLDEXITNUMELEMNTS)+0x0002)
#define IDC_EDITWLDD0KEYWORD    (IDC_EDITWLDEXITSTART+(0*IDC_EDITWLDEXITNUMELEMNTS)+0x0003)
#define IDC_EDITWLDD0DESC       (IDC_EDITWLDEXITSTART+(0*IDC_EDITWLDEXITNUMELEMNTS)+0x0004)
#define IDC_EDITWLDD0FLAG       (IDC_EDITWLDEXITSTART+(0*IDC_EDITWLDEXITNUMELEMNTS)+0x0005)
#define IDC_EDITWLDD0GOTO       (IDC_EDITWLDEXITSTART+(0*IDC_EDITWLDEXITNUMELEMNTS)+0x0006)
#define IDC_EDITWLDD1           (IDC_EDITWLDEXITSTART+(1*IDC_EDITWLDEXITNUMELEMNTS)+0x0000)
#define IDC_EDITWLDD1TO         (IDC_EDITWLDEXITSTART+(1*IDC_EDITWLDEXITNUMELEMNTS)+0x0001)
#define IDC_EDITWLDD1KEY        (IDC_EDITWLDEXITSTART+(1*IDC_EDITWLDEXITNUMELEMNTS)+0x0002)
#define IDC_EDITWLDD1KEYWORD    (IDC_EDITWLDEXITSTART+(1*IDC_EDITWLDEXITNUMELEMNTS)+0x0003)
#define IDC_EDITWLDD1DESC       (IDC_EDITWLDEXITSTART+(1*IDC_EDITWLDEXITNUMELEMNTS)+0x0004)
#define IDC_EDITWLDD1FLAG       (IDC_EDITWLDEXITSTART+(1*IDC_EDITWLDEXITNUMELEMNTS)+0x0005)
#define IDC_EDITWLDD1GOTO       (IDC_EDITWLDEXITSTART+(1*IDC_EDITWLDEXITNUMELEMNTS)+0x0006)
#define IDC_EDITWLDD2           (IDC_EDITWLDEXITSTART+(2*IDC_EDITWLDEXITNUMELEMNTS)+0x0000)
#define IDC_EDITWLDD2TO         (IDC_EDITWLDEXITSTART+(2*IDC_EDITWLDEXITNUMELEMNTS)+0x0001)
#define IDC_EDITWLDD2KEY        (IDC_EDITWLDEXITSTART+(2*IDC_EDITWLDEXITNUMELEMNTS)+0x0002)
#define IDC_EDITWLDD2KEYWORD    (IDC_EDITWLDEXITSTART+(2*IDC_EDITWLDEXITNUMELEMNTS)+0x0003)
#define IDC_EDITWLDD2DESC       (IDC_EDITWLDEXITSTART+(2*IDC_EDITWLDEXITNUMELEMNTS)+0x0004)
#define IDC_EDITWLDD2FLAG       (IDC_EDITWLDEXITSTART+(2*IDC_EDITWLDEXITNUMELEMNTS)+0x0005)
#define IDC_EDITWLDD2GOTO       (IDC_EDITWLDEXITSTART+(2*IDC_EDITWLDEXITNUMELEMNTS)+0x0006)
#define IDC_EDITWLDD3           (IDC_EDITWLDEXITSTART+(3*IDC_EDITWLDEXITNUMELEMNTS)+0x0000)
#define IDC_EDITWLDD3TO         (IDC_EDITWLDEXITSTART+(3*IDC_EDITWLDEXITNUMELEMNTS)+0x0001)
#define IDC_EDITWLDD3KEY        (IDC_EDITWLDEXITSTART+(3*IDC_EDITWLDEXITNUMELEMNTS)+0x0002)
#define IDC_EDITWLDD3KEYWORD    (IDC_EDITWLDEXITSTART+(3*IDC_EDITWLDEXITNUMELEMNTS)+0x0003)
#define IDC_EDITWLDD3DESC       (IDC_EDITWLDEXITSTART+(3*IDC_EDITWLDEXITNUMELEMNTS)+0x0004)
#define IDC_EDITWLDD3FLAG       (IDC_EDITWLDEXITSTART+(3*IDC_EDITWLDEXITNUMELEMNTS)+0x0005)
#define IDC_EDITWLDD3GOTO       (IDC_EDITWLDEXITSTART+(3*IDC_EDITWLDEXITNUMELEMNTS)+0x0006)
#define IDC_EDITWLDD4           (IDC_EDITWLDEXITSTART+(4*IDC_EDITWLDEXITNUMELEMNTS)+0x0000)
#define IDC_EDITWLDD4TO         (IDC_EDITWLDEXITSTART+(4*IDC_EDITWLDEXITNUMELEMNTS)+0x0001)
#define IDC_EDITWLDD4KEY        (IDC_EDITWLDEXITSTART+(4*IDC_EDITWLDEXITNUMELEMNTS)+0x0002)
#define IDC_EDITWLDD4KEYWORD    (IDC_EDITWLDEXITSTART+(4*IDC_EDITWLDEXITNUMELEMNTS)+0x0003)
#define IDC_EDITWLDD4DESC       (IDC_EDITWLDEXITSTART+(4*IDC_EDITWLDEXITNUMELEMNTS)+0x0004)
#define IDC_EDITWLDD4FLAG       (IDC_EDITWLDEXITSTART+(4*IDC_EDITWLDEXITNUMELEMNTS)+0x0005)
#define IDC_EDITWLDD4GOTO       (IDC_EDITWLDEXITSTART+(4*IDC_EDITWLDEXITNUMELEMNTS)+0x0006)
#define IDC_EDITWLDD5           (IDC_EDITWLDEXITSTART+(5*IDC_EDITWLDEXITNUMELEMNTS)+0x0000)
#define IDC_EDITWLDD5TO         (IDC_EDITWLDEXITSTART+(5*IDC_EDITWLDEXITNUMELEMNTS)+0x0001)
#define IDC_EDITWLDD5KEY        (IDC_EDITWLDEXITSTART+(5*IDC_EDITWLDEXITNUMELEMNTS)+0x0002)
#define IDC_EDITWLDD5KEYWORD    (IDC_EDITWLDEXITSTART+(5*IDC_EDITWLDEXITNUMELEMNTS)+0x0003)
#define IDC_EDITWLDD5DESC       (IDC_EDITWLDEXITSTART+(5*IDC_EDITWLDEXITNUMELEMNTS)+0x0004)
#define IDC_EDITWLDD5FLAG       (IDC_EDITWLDEXITSTART+(5*IDC_EDITWLDEXITNUMELEMNTS)+0x0005)
#define IDC_EDITWLDD5GOTO       (IDC_EDITWLDEXITSTART+(5*IDC_EDITWLDEXITNUMELEMNTS)+0x0006)

#define DIALOG_EDITOBJ          0x3200
#define IDC_EDITOBJVIRTUAL      0x3201
#define IDC_EDITOBJACTIVESTART  0x3202 /* start of active components */
#define IDC_EDITOBJNAME         0x3202
#define IDC_EDITOBJTYPE         0x3203
#define IDC_EDITOBJKEY          0x3204
#define IDC_EDITOBJACTIONFLAGS  0x3205
#define IDC_EDITOBJLDESC        0x3206
#define IDC_EDITOBJDESC         0x3207
#define IDC_EDITOBJWEAR         0x3208
#define IDC_EDITOBJWEIGHT       0x3209
#define IDC_EDITOBJVALUE        0x320A
#define IDC_EDITOBJRENT         0x320B
#define IDC_EDITOBJDL0          0x320C
#define IDC_EDITOBJDV0          0x320D
#define IDC_EDITOBJDT0          0x320E
#define IDC_EDITOBJDF0          0x320F
#define IDC_EDITOBJDL1          0x3210
#define IDC_EDITOBJDV1          0x3211
#define IDC_EDITOBJDT1          0x3212
#define IDC_EDITOBJDF1          0x3213
#define IDC_EDITOBJDL2          0x3214
#define IDC_EDITOBJDV2          0x3215
#define IDC_EDITOBJDT2          0x3216
#define IDC_EDITOBJDF2          0x3217
#define IDC_EDITOBJDL3          0x3218
#define IDC_EDITOBJDV3          0x3219
#define IDC_EDITOBJDT3          0x321A
#define IDC_EDITOBJDF3          0x321B
#define IDC_EDITOBJDL4          0x321C
#define IDC_EDITOBJDV4          0x321D
#define IDC_EDITOBJDT4          0x321E
#define IDC_EDITOBJDF4          0x321F
#define IDC_EDITOBJDL5          0x3220
#define IDC_EDITOBJDV5          0x3221
#define IDC_EDITOBJDT5          0x3222
#define IDC_EDITOBJDF5          0x3223
#define IDC_EDITOBJDL6          0x3224
#define IDC_EDITOBJDV6          0x3225
#define IDC_EDITOBJDT6          0x3226
#define IDC_EDITOBJDF6          0x3227
#define IDC_EDITOBJDL7          0x3228
#define IDC_EDITOBJDV7          0x3229
#define IDC_EDITOBJDT7          0x322A
#define IDC_EDITOBJDF7          0x322B
#define IDC_EDITOBJDL8          0x322C
#define IDC_EDITOBJDV8          0x322D
#define IDC_EDITOBJDT8          0x322E
#define IDC_EDITOBJDF8          0x322F
#define IDC_EDITOBJDL9          0x3230
#define IDC_EDITOBJDV9          0x3231
#define IDC_EDITOBJDT9          0x3232
#define IDC_EDITOBJDF9          0x3233
#define IDC_EDITOBJDL10         0x3234
#define IDC_EDITOBJDV10         0x3235
#define IDC_EDITOBJDT10         0x3236
#define IDC_EDITOBJDF10         0x3237
#define IDC_EDITOBJDL11         0x3238
#define IDC_EDITOBJDV11         0x3239
#define IDC_EDITOBJDT11         0x323A
#define IDC_EDITOBJDF11         0x323B
#define IDC_EDITOBJDL12         0x323C
#define IDC_EDITOBJDV12         0x323D
#define IDC_EDITOBJDT12         0x323E
#define IDC_EDITOBJDF12         0x323F
#define IDC_EDITOBJDL13         0x3240
#define IDC_EDITOBJDV13         0x3241
#define IDC_EDITOBJDT13         0x3242
#define IDC_EDITOBJDF13         0x3243
#define IDC_EDITOBJDL14         0x3244
#define IDC_EDITOBJDV14         0x3245
#define IDC_EDITOBJDT14         0x3246
#define IDC_EDITOBJDF14         0x3247
#define IDC_EDITOBJDL15         0x3248
#define IDC_EDITOBJDV15         0x3249
#define IDC_EDITOBJDT15         0x324A
#define IDC_EDITOBJDF15         0x324B
#define IDC_EDITOBJAPPLYTYPE0   0x324C
#define IDC_EDITOBJAPPLYVALUE0  0x324D
#define IDC_EDITOBJAPPLYTYPE1   0x324E
#define IDC_EDITOBJAPPLYVALUE1  0x324F
#define IDC_EDITOBJAPPLYTYPE2   0x3250
#define IDC_EDITOBJAPPLYVALUE2  0x3251
#define IDC_EDITOBJAPPLYTYPE3   0x3252
#define IDC_EDITOBJAPPLYVALUE3  0x3253
#define IDC_EDITOBJEXTRA        0x3254
#define IDC_EDITOBJEXTRANEW     0x3255
#define IDC_EDITOBJEXTRAEDIT    0x3256
#define IDC_EDITOBJEXTRADELETE  0x3257
#define IDC_EDITOBJPROPERTY     0x3258
#define IDC_EDITOBJPROPERTYNEW  0x3259
#define IDC_EDITOBJPROPERTYEDIT 0x325A
#define IDC_EDITOBJPROPERTYDELETE 0x325B
#define IDC_EDITOBJPREVIOUS     0x325C
#define IDC_EDITOBJNEXT         0x325D
#define IDC_EDITOBJCOPY         0x325E
#define IDC_EDITOBJPASTE        0x325F
#define IDC_EDITOBJACTIVEEND    IDC_EDITOBJPASTE

#define DIALOG_EDITADT          0x3300
#define IDC_EDITADTNAME         0x3301
#define IDC_EDITADTACTIVESTART  0x3302 /* start of active components */
#define IDC_EDITADTDESC         0x3302
#define IDC_EDITADTEDITORS      0x3303
#define IDC_EDITADTRESETDELAY   0x3304
#define IDC_EDITADTFLAGS        0x3305
#define IDC_EDITADTPROPERTY     0x3306
#define IDC_EDITADTPROPERTYNEW  0x3307
#define IDC_EDITADTPROPERTYEDIT 0x3308
#define IDC_EDITADTPROPERTYDELETE 0x3309
#define IDC_EDITADTACTIVEEND    IDC_EDITADTPROPERTYDELETE

#define DIALOG_EDITRST          0x3400
#define IDC_EDITRSTAREA         0x3401
#define IDC_EDITRSTPAGE         0x3402
#define IDC_EDITRSTPAGETOTAL	  0x3403
#define IDC_EDITRSTACTIVESTART  0x3404 /* start of active components */
#define IDC_EDITRSTPREVIOUS     0x3404
#define IDC_EDITRSTNEXT         0x3405
#define IDC_EDITRSTCOPY         0x3406
#define IDC_EDITRSTPASTE        0x3407
#define IDC_EDITRSTACTIVEEND    IDC_EDITRSTPASTE /* end of active components */
#define IDC_EDITRSTCELLSTART    0x3408 /* the following are controlled (enable/disable) separately */
#define IDC_EDITRSTCELLNUM         6    /* number of cells per page */
#define IDC_EDITRSTCELLELEMNTS    17    /* number of elements in each direction cluster */
/* */
#define IDC_EDITRSTINSERT1        (IDC_EDITRSTCELLSTART+(0*IDC_EDITRSTCELLELEMNTS)+0x0000)
#define IDC_EDITRSTDELETE1        (IDC_EDITRSTCELLSTART+(0*IDC_EDITRSTCELLELEMNTS)+0x0001)
#define IDC_EDITRSTCMD1           (IDC_EDITRSTCELLSTART+(0*IDC_EDITRSTCELLELEMNTS)+0x0002)
#define IDC_EDITRSTIFNO1          (IDC_EDITRSTCELLSTART+(0*IDC_EDITRSTCELLELEMNTS)+0x0003)
#define IDC_EDITRSTIFYES1         (IDC_EDITRSTCELLSTART+(0*IDC_EDITRSTCELLELEMNTS)+0x0004)
#define IDC_EDITRSTARG11          (IDC_EDITRSTCELLSTART+(0*IDC_EDITRSTCELLELEMNTS)+0x0005)
#define IDC_EDITRSTARG2A1         (IDC_EDITRSTCELLSTART+(0*IDC_EDITRSTCELLELEMNTS)+0x0006)
#define IDC_EDITRSTARG2B1         (IDC_EDITRSTCELLSTART+(0*IDC_EDITRSTCELLELEMNTS)+0x0007)
#define IDC_EDITRSTARG3A1         (IDC_EDITRSTCELLSTART+(0*IDC_EDITRSTCELLELEMNTS)+0x0008)
#define IDC_EDITRSTARG3B1         (IDC_EDITRSTCELLSTART+(0*IDC_EDITRSTCELLELEMNTS)+0x0009)
#define IDC_EDITRSTARG41          (IDC_EDITRSTCELLSTART+(0*IDC_EDITRSTCELLELEMNTS)+0x000A)
#define IDC_EDITRSTARGL11         (IDC_EDITRSTCELLSTART+(0*IDC_EDITRSTCELLELEMNTS)+0x000B)
#define IDC_EDITRSTARGL12         (IDC_EDITRSTCELLSTART+(0*IDC_EDITRSTCELLELEMNTS)+0x000C)
#define IDC_EDITRSTARGL13         (IDC_EDITRSTCELLSTART+(0*IDC_EDITRSTCELLELEMNTS)+0x000D)
#define IDC_EDITRSTARGL14         (IDC_EDITRSTCELLSTART+(0*IDC_EDITRSTCELLELEMNTS)+0x000E)
#define IDC_EDITRSTCONDITIONAL1   (IDC_EDITRSTCELLSTART+(0*IDC_EDITRSTCELLELEMNTS)+0x000F)
#define IDC_EDITRSTDIVIDER1       (IDC_EDITRSTCELLSTART+(0*IDC_EDITRSTCELLELEMNTS)+0x0010)
/* */
#define IDC_EDITRSTINSERT2        (IDC_EDITRSTCELLSTART+(1*IDC_EDITRSTCELLELEMNTS)+0x0000)
#define IDC_EDITRSTDELETE2        (IDC_EDITRSTCELLSTART+(1*IDC_EDITRSTCELLELEMNTS)+0x0001)
#define IDC_EDITRSTCMD2           (IDC_EDITRSTCELLSTART+(1*IDC_EDITRSTCELLELEMNTS)+0x0002)
#define IDC_EDITRSTIFNO2          (IDC_EDITRSTCELLSTART+(1*IDC_EDITRSTCELLELEMNTS)+0x0003)
#define IDC_EDITRSTIFYES2         (IDC_EDITRSTCELLSTART+(1*IDC_EDITRSTCELLELEMNTS)+0x0004)
#define IDC_EDITRSTARG12          (IDC_EDITRSTCELLSTART+(1*IDC_EDITRSTCELLELEMNTS)+0x0005)
#define IDC_EDITRSTARG2A2         (IDC_EDITRSTCELLSTART+(1*IDC_EDITRSTCELLELEMNTS)+0x0006)
#define IDC_EDITRSTARG2B2         (IDC_EDITRSTCELLSTART+(1*IDC_EDITRSTCELLELEMNTS)+0x0007)
#define IDC_EDITRSTARG3A2         (IDC_EDITRSTCELLSTART+(1*IDC_EDITRSTCELLELEMNTS)+0x0008)
#define IDC_EDITRSTARG3B2         (IDC_EDITRSTCELLSTART+(1*IDC_EDITRSTCELLELEMNTS)+0x0009)
#define IDC_EDITRSTARG42          (IDC_EDITRSTCELLSTART+(1*IDC_EDITRSTCELLELEMNTS)+0x000A)
#define IDC_EDITRSTARGL21         (IDC_EDITRSTCELLSTART+(1*IDC_EDITRSTCELLELEMNTS)+0x000B)
#define IDC_EDITRSTARGL22         (IDC_EDITRSTCELLSTART+(1*IDC_EDITRSTCELLELEMNTS)+0x000C)
#define IDC_EDITRSTARGL23         (IDC_EDITRSTCELLSTART+(1*IDC_EDITRSTCELLELEMNTS)+0x000D)
#define IDC_EDITRSTARGL24         (IDC_EDITRSTCELLSTART+(1*IDC_EDITRSTCELLELEMNTS)+0x000E)
#define IDC_EDITRSTCONDITIONAL2   (IDC_EDITRSTCELLSTART+(1*IDC_EDITRSTCELLELEMNTS)+0x000F)
#define IDC_EDITRSTDIVIDER2       (IDC_EDITRSTCELLSTART+(1*IDC_EDITRSTCELLELEMNTS)+0x0010)
/* */
#define IDC_EDITRSTINSERT3        (IDC_EDITRSTCELLSTART+(2*IDC_EDITRSTCELLELEMNTS)+0x0000)
#define IDC_EDITRSTDELETE3        (IDC_EDITRSTCELLSTART+(2*IDC_EDITRSTCELLELEMNTS)+0x0001)
#define IDC_EDITRSTCMD3           (IDC_EDITRSTCELLSTART+(2*IDC_EDITRSTCELLELEMNTS)+0x0002)
#define IDC_EDITRSTIFNO3          (IDC_EDITRSTCELLSTART+(2*IDC_EDITRSTCELLELEMNTS)+0x0003)
#define IDC_EDITRSTIFYES3         (IDC_EDITRSTCELLSTART+(2*IDC_EDITRSTCELLELEMNTS)+0x0004)
#define IDC_EDITRSTARG13          (IDC_EDITRSTCELLSTART+(2*IDC_EDITRSTCELLELEMNTS)+0x0005)
#define IDC_EDITRSTARG2A3         (IDC_EDITRSTCELLSTART+(2*IDC_EDITRSTCELLELEMNTS)+0x0006)
#define IDC_EDITRSTARG2B3         (IDC_EDITRSTCELLSTART+(2*IDC_EDITRSTCELLELEMNTS)+0x0007)
#define IDC_EDITRSTARG3A3         (IDC_EDITRSTCELLSTART+(2*IDC_EDITRSTCELLELEMNTS)+0x0008)
#define IDC_EDITRSTARG3B3         (IDC_EDITRSTCELLSTART+(2*IDC_EDITRSTCELLELEMNTS)+0x0009)
#define IDC_EDITRSTARG43          (IDC_EDITRSTCELLSTART+(2*IDC_EDITRSTCELLELEMNTS)+0x000A)
#define IDC_EDITRSTARGL31         (IDC_EDITRSTCELLSTART+(2*IDC_EDITRSTCELLELEMNTS)+0x000B)
#define IDC_EDITRSTARGL32         (IDC_EDITRSTCELLSTART+(2*IDC_EDITRSTCELLELEMNTS)+0x000C)
#define IDC_EDITRSTARGL33         (IDC_EDITRSTCELLSTART+(2*IDC_EDITRSTCELLELEMNTS)+0x000D)
#define IDC_EDITRSTARGL34         (IDC_EDITRSTCELLSTART+(2*IDC_EDITRSTCELLELEMNTS)+0x000E)
#define IDC_EDITRSTCONDITIONAL3   (IDC_EDITRSTCELLSTART+(2*IDC_EDITRSTCELLELEMNTS)+0x000F)
#define IDC_EDITRSTDIVIDER3       (IDC_EDITRSTCELLSTART+(2*IDC_EDITRSTCELLELEMNTS)+0x0010)
/* */
#define IDC_EDITRSTINSERT4        (IDC_EDITRSTCELLSTART+(3*IDC_EDITRSTCELLELEMNTS)+0x0000)
#define IDC_EDITRSTDELETE4        (IDC_EDITRSTCELLSTART+(3*IDC_EDITRSTCELLELEMNTS)+0x0001)
#define IDC_EDITRSTCMD4           (IDC_EDITRSTCELLSTART+(3*IDC_EDITRSTCELLELEMNTS)+0x0002)
#define IDC_EDITRSTIFNO4          (IDC_EDITRSTCELLSTART+(3*IDC_EDITRSTCELLELEMNTS)+0x0003)
#define IDC_EDITRSTIFYES4         (IDC_EDITRSTCELLSTART+(3*IDC_EDITRSTCELLELEMNTS)+0x0004)
#define IDC_EDITRSTARG14          (IDC_EDITRSTCELLSTART+(3*IDC_EDITRSTCELLELEMNTS)+0x0005)
#define IDC_EDITRSTARG2A4         (IDC_EDITRSTCELLSTART+(3*IDC_EDITRSTCELLELEMNTS)+0x0006)
#define IDC_EDITRSTARG2B4         (IDC_EDITRSTCELLSTART+(3*IDC_EDITRSTCELLELEMNTS)+0x0007)
#define IDC_EDITRSTARG3A4         (IDC_EDITRSTCELLSTART+(3*IDC_EDITRSTCELLELEMNTS)+0x0008)
#define IDC_EDITRSTARG3B4         (IDC_EDITRSTCELLSTART+(3*IDC_EDITRSTCELLELEMNTS)+0x0009)
#define IDC_EDITRSTARG44          (IDC_EDITRSTCELLSTART+(3*IDC_EDITRSTCELLELEMNTS)+0x000A)
#define IDC_EDITRSTARGL41         (IDC_EDITRSTCELLSTART+(3*IDC_EDITRSTCELLELEMNTS)+0x000B)
#define IDC_EDITRSTARGL42         (IDC_EDITRSTCELLSTART+(3*IDC_EDITRSTCELLELEMNTS)+0x000C)
#define IDC_EDITRSTARGL43         (IDC_EDITRSTCELLSTART+(3*IDC_EDITRSTCELLELEMNTS)+0x000D)
#define IDC_EDITRSTARGL44         (IDC_EDITRSTCELLSTART+(3*IDC_EDITRSTCELLELEMNTS)+0x000E)
#define IDC_EDITRSTCONDITIONAL4   (IDC_EDITRSTCELLSTART+(3*IDC_EDITRSTCELLELEMNTS)+0x000F)
#define IDC_EDITRSTDIVIDER4       (IDC_EDITRSTCELLSTART+(3*IDC_EDITRSTCELLELEMNTS)+0x0010)
/* */
#define IDC_EDITRSTINSERT5        (IDC_EDITRSTCELLSTART+(4*IDC_EDITRSTCELLELEMNTS)+0x0000)
#define IDC_EDITRSTDELETE5        (IDC_EDITRSTCELLSTART+(4*IDC_EDITRSTCELLELEMNTS)+0x0001)
#define IDC_EDITRSTCMD5           (IDC_EDITRSTCELLSTART+(4*IDC_EDITRSTCELLELEMNTS)+0x0002)
#define IDC_EDITRSTIFNO5          (IDC_EDITRSTCELLSTART+(4*IDC_EDITRSTCELLELEMNTS)+0x0003)
#define IDC_EDITRSTIFYES5         (IDC_EDITRSTCELLSTART+(4*IDC_EDITRSTCELLELEMNTS)+0x0004)
#define IDC_EDITRSTARG15          (IDC_EDITRSTCELLSTART+(4*IDC_EDITRSTCELLELEMNTS)+0x0005)
#define IDC_EDITRSTARG2A5         (IDC_EDITRSTCELLSTART+(4*IDC_EDITRSTCELLELEMNTS)+0x0006)
#define IDC_EDITRSTARG2B5         (IDC_EDITRSTCELLSTART+(4*IDC_EDITRSTCELLELEMNTS)+0x0007)
#define IDC_EDITRSTARG3A5         (IDC_EDITRSTCELLSTART+(4*IDC_EDITRSTCELLELEMNTS)+0x0008)
#define IDC_EDITRSTARG3B5         (IDC_EDITRSTCELLSTART+(4*IDC_EDITRSTCELLELEMNTS)+0x0009)
#define IDC_EDITRSTARG45          (IDC_EDITRSTCELLSTART+(4*IDC_EDITRSTCELLELEMNTS)+0x000A)
#define IDC_EDITRSTARGL51         (IDC_EDITRSTCELLSTART+(4*IDC_EDITRSTCELLELEMNTS)+0x000B)
#define IDC_EDITRSTARGL52         (IDC_EDITRSTCELLSTART+(4*IDC_EDITRSTCELLELEMNTS)+0x000C)
#define IDC_EDITRSTARGL53         (IDC_EDITRSTCELLSTART+(4*IDC_EDITRSTCELLELEMNTS)+0x000D)
#define IDC_EDITRSTARGL54         (IDC_EDITRSTCELLSTART+(4*IDC_EDITRSTCELLELEMNTS)+0x000E)
#define IDC_EDITRSTCONDITIONAL5   (IDC_EDITRSTCELLSTART+(4*IDC_EDITRSTCELLELEMNTS)+0x000F)
#define IDC_EDITRSTDIVIDER5       (IDC_EDITRSTCELLSTART+(4*IDC_EDITRSTCELLELEMNTS)+0x0010)
/* */
#define IDC_EDITRSTINSERT6        (IDC_EDITRSTCELLSTART+(5*IDC_EDITRSTCELLELEMNTS)+0x0000)
#define IDC_EDITRSTDELETE6        (IDC_EDITRSTCELLSTART+(5*IDC_EDITRSTCELLELEMNTS)+0x0001)
#define IDC_EDITRSTCMD6           (IDC_EDITRSTCELLSTART+(5*IDC_EDITRSTCELLELEMNTS)+0x0002)
#define IDC_EDITRSTIFNO6          (IDC_EDITRSTCELLSTART+(5*IDC_EDITRSTCELLELEMNTS)+0x0003)
#define IDC_EDITRSTIFYES6         (IDC_EDITRSTCELLSTART+(5*IDC_EDITRSTCELLELEMNTS)+0x0004)
#define IDC_EDITRSTARG16          (IDC_EDITRSTCELLSTART+(5*IDC_EDITRSTCELLELEMNTS)+0x0005)
#define IDC_EDITRSTARG2A6         (IDC_EDITRSTCELLSTART+(5*IDC_EDITRSTCELLELEMNTS)+0x0006)
#define IDC_EDITRSTARG2B6         (IDC_EDITRSTCELLSTART+(5*IDC_EDITRSTCELLELEMNTS)+0x0007)
#define IDC_EDITRSTARG3A6         (IDC_EDITRSTCELLSTART+(5*IDC_EDITRSTCELLELEMNTS)+0x0008)
#define IDC_EDITRSTARG3B6         (IDC_EDITRSTCELLSTART+(5*IDC_EDITRSTCELLELEMNTS)+0x0009)
#define IDC_EDITRSTARG46          (IDC_EDITRSTCELLSTART+(5*IDC_EDITRSTCELLELEMNTS)+0x000A)
#define IDC_EDITRSTARGL61         (IDC_EDITRSTCELLSTART+(5*IDC_EDITRSTCELLELEMNTS)+0x000B)
#define IDC_EDITRSTARGL62         (IDC_EDITRSTCELLSTART+(5*IDC_EDITRSTCELLELEMNTS)+0x000C)
#define IDC_EDITRSTARGL63         (IDC_EDITRSTCELLSTART+(5*IDC_EDITRSTCELLELEMNTS)+0x000D)
#define IDC_EDITRSTARGL64         (IDC_EDITRSTCELLSTART+(5*IDC_EDITRSTCELLELEMNTS)+0x000E)
#define IDC_EDITRSTCONDITIONAL6   (IDC_EDITRSTCELLSTART+(5*IDC_EDITRSTCELLELEMNTS)+0x000F)
#define IDC_EDITRSTDIVIDER6       (IDC_EDITRSTCELLSTART+(5*IDC_EDITRSTCELLELEMNTS)+0x0010)


#define DIALOG_ATOPT            0x3500
#define IDC_ATOPTEMU            0x3501
#define IDC_ATOPTEMUNONE        0x3502
#define IDC_ATOPTEMUVT100       0x3503
#define IDC_ATOPTBELL           0x3504
#define IDC_ATOPTLOCALECHO      0x3505
#define IDC_ATOPTINPUTLINE      0x3506
#define IDC_ATOPTBS             0x3507
#define IDC_ATOPTBSBS           0x3508
#define IDC_ATOPTBSDEL          0x3509
#define IDC_ATOPTDEL            0x350A
#define IDC_ATOPTDELBS          0x350B
#define IDC_ATOPTDELDEL         0x350C
#define IDC_ATOPTSCROLLBUF      0x350D

#define DIALOG_ATFNKEY          0x3600
#define IDC_ATFNKEYFN1          0x3601
#define IDC_ATFNKEYFN2          0x3602
#define IDC_ATFNKEYFN3          0x3603
#define IDC_ATFNKEYFN4          0x3604
#define IDC_ATFNKEYFN5          0x3605
#define IDC_ATFNKEYFN6          0x3606
#define IDC_ATFNKEYFN7          0x3607
#define IDC_ATFNKEYFN8          0x3608
#define IDC_ATFNKEYFN9          0x3609
#define IDC_ATFNKEYFN10         0x360A
#define IDC_ATFNKEYFN11         0x360B
#define IDC_ATFNKEYFN12         0x360C
#define IDC_ATFNKEYBANKNONE     0x360D
#define IDC_ATFNKEYBANKSHIFT    0x360E
#define IDC_ATFNKEYBANKCTRL     0x360F
#define IDC_ATFNKEYBANKSHCT     0x3610