{resource constants}
const
  // dialogs
  IDD_ACTION        = 1025;
  IDD_STRUCTURE     = 1027;
  IDD_ASK           = 1028;

  // icons
  IDI_NEW           = 1025;
  IDI_UP            = 1026;
  IDI_DOWN          = 1027;
  IDI_DELETE        = 1028;
  IDI_RELOAD        = 1029;
  IDI_CONTACT       = 1030;
  IDI_SERVICE       = 1031;
  IDI_PROGRAM       = 1032;
  IDI_INSERT        = 1033;
  IDI_ADVANCE       = 1034;
  IDI_CHAIN         = 1035;
  IDI_RW            = 1036;
  IDI_TEST          = 1037;
  IDI_EXPORT        = 1038;
  IDI_IMPORT        = 1039;
  IDI_MESSAGE       = 1040;
  IDI_VAR_CHECKED   = 1041;
  IDI_VAR_UNCHECKED = 1042;
  IDI_FORMAT        = 1043;
  IDI_APPLY         = 1044;

  // Structure editor
  IDC_DATA_FULL     = 2001;
  IDC_DATA_TYPE     = 2002;
  IDC_DATA_EDIT     = 2005;
  IDC_DATA_LEN      = 2006;
  IDC_DATA_HELP     = 2007;

  IDC_DATA_NEW      = 2008;
  IDC_DATA_DELETE   = 2009;
  IDC_DATA_UP       = 2010;
  IDC_DATA_DOWN     = 2011;
  IDC_DATA_CHANGE   = 2012;
  IDC_DATA_VARS     = 2013;
  IDC_DATA_PACKED   = 2014;
  
  // Action page
//  IDC_RESET         = 2001;

  IDC_ACTION_TYPE   = 2005;
  IDC_STAT_ACTION   = 2006;

  IDC_ACTION_LIST   = 2007;
  IDC_ACTION_NEW    = 2008;
  IDC_ACTION_DELETE = 2009;
  IDC_ACTION_UP     = 2010;
  IDC_ACTION_DOWN   = 2011;

  IDC_ACTION_GROUP  = 2012;
  IDC_GROUP_NEW     = 2015;
  IDC_GROUP_RELOAD  = 2016;
  IDC_GROUP_DELETE  = 2017;
  IDC_GROUP_TEST    = 2018;
  IDC_GROUP_UP      = 2019;
  IDC_GROUP_DOWN    = 2020;
  IDC_GROUP_EXPORT  = 2021;
  IDC_GROUP_IMPORT  = 2022;
  IDC_ACTION_HELP   = 2023;

  IDC_STAT_CONTACT  = 2140;
  IDC_CONTACTLIST   = 2141;
  IDC_CNT_KEEP      = 2142;
  IDC_STAT_FORMAT   = 2143;
  IDC_EDIT_FORMAT   = 2144;
  IDC_CNT_FILTER    = 2145;
  IDC_CNT_APPLY     = 2146;
  IDC_STAT_FHELP    = 2147;

  IDC_STAT_WPAR1    = 2150;
  IDC_STAT_LPAR1    = 2151;
  IDC_STAT_WPAR     = 2152;
  IDC_STAT_LPAR     = 2153;
  IDC_FLAG_WPAR     = 2154;
  IDC_FLAG_LPAR     = 2155;
  IDC_EDIT_WPAR     = 2156;
  IDC_EDIT_LPAR     = 2157;
  IDC_STAT_SERVICE  = 2158;
  IDC_EDIT_SERVICE  = 2159;
  IDC_WSTRUCT       = 2160;
  IDC_LSTRUCT       = 2161;

  IDC_RES_POPUP     = 2251;
  IDC_RES_MESSAGE   = 2252;
  IDC_RES_INSERT    = 2253;
  IDC_SRV_RESSTAT   = 2254;
  IDC_SRV_RESULT    = 2255;
  IDC_RES_FREEMEM   = 2256;
  IDC_RES_UNICODE   = 2257;
  IDC_RES_SIGNED    = 2258;
  IDC_RES_GROUP     = 2259;

  IDC_FLAG_MINIMIZE = 2350;
  IDC_STAT_PRGPATH  = 2351;
  IDC_EDIT_PRGPATH  = 2352;
  IDC_PROGRAM       = 2353;
  IDC_STAT_PRGARGS  = 2354;
  IDC_EDIT_PRGARGS  = 2355;
  IDC_EDIT_PROCTIME = 2356;
  IDC_PROCESS_GROUP = 2357;
  IDC_STAT_PROCTIME = 2358;
  IDC_PRSTART_GROUP = 2359;
  IDC_FLAG_NORMAL   = 2360;
  IDC_FLAG_HIDDEN   = 2361;
  IDC_FLAG_MAXIMIZE = 2362;
  IDC_FLAG_CURPATH  = 2363;
  IDC_FLAG_PARALLEL = 2364;
  IDC_FLAG_CONTINUE = 2365;
  IDC_HLP_FVARS     = 2366;

  IDC_HLP_VARS      = 2451;
  IDC_STAT_INSERT   = 2452;
  IDC_EDIT_INSERT   = 2453;

  IDC_FLAG_CLIP     = 2454;
  IDC_FLAG_MESSAGE  = 2455;
  IDC_CLIP_COPYTO   = 2456;
  IDC_CLIP_PASTE    = 2457;
  IDC_CLIP_GROUP    = 2458;
  IDC_FILE_ENC      = 2459;
//  IDC_CLIP_ANSI     = 2459;
//  IDC_CLIP_WIDE     = 2460;
  IDC_FLAG_FILE     = 2461;
  IDC_FILE_PATH     = 2462;
  IDC_FILE_FILEBTN  = 2463;
  IDC_FILE_READ     = 2464;
  IDC_FILE_WRITE    = 2465;
  IDC_FILE_APPEND   = 2466;
  IDC_FILE_GROUP    = 2467;

  IDC_STAT_GROUPS   = 2500;
  IDC_GROUP_LIST    = 2501;

  IDC_CONDITION     = 2505;
  IDC_FLAG_GT       = 2506;
  IDC_FLAG_LT       = 2507;
  IDC_FLAG_EQ       = 2508;
  IDC_FLAG_NOP      = 2509;
  IDC_FLAG_NOT      = 2510;

  IDC_OPERATION     = 2511;
  IDC_FLAG_BREAK    = 2512;
  IDC_FLAG_JUMP     = 2513;
  IDC_FLAG_ANOP     = 2514;
  IDC_ADV_VALUE     = 2515;
  IDC_STAT_VAL      = 2516;

  IDC_FLAG_MATH     = 2519;
  IDC_ADV_OPER      = 2520;
  IDC_ADV_VAL1      = 2521;
  IDC_ADV_VAL2      = 2522;
  IDC_FLAG_VARS     = 2523;
  IDC_ADV_VARS      = 2524;
  IDC_ADV_HVARS     = 2526;
  IDC_ADV_ASINT     = 2527;

  IDC_RW_READ       = 2601;
  IDC_RW_WRITE      = 2602;
  IDC_RW_DELETE     = 2603;
  IDC_RW_STATM      = 2605;
  IDC_RW_MODULE     = 2606;
  IDC_RW_STATS      = 2607;
  IDC_RW_SETTING    = 2608;
  IDC_RW_TEXT       = 2609;
  IDC_RW_VALUE      = 2610;
  IDC_RW_DATATYPE   = 2611;
  IDC_RW_CURRENT    = 2614;
  IDC_RW_PARAM      = 2615;
  IDC_RW_MANUAL     = 2616;
  IDC_RW_OPER       = 2617;
  IDC_RW_VAL        = 2618;
  IDC_RW_RESULT     = 2619;
  IDC_RW_LAST       = 2620;

  IDC_MSG_STAT1     = 2701;
  IDC_MSG_STAT2     = 2702;
  IDC_MSG_TITLE     = 2703;
  IDC_MSG_TEXT      = 2704;
  IDC_MSG_BTNS      = 2705;
  IDC_MSGB_ARI      = 2706;
  IDC_MSGB_OK       = 2707;
  IDC_MSGB_OC       = 2708;
  IDC_MSGB_RC       = 2709;
  IDC_MSGB_YN       = 2710;
  IDC_MSGB_YNC      = 2711;
  IDC_MSG_ICONS     = 2712;
  IDC_MSGI_NONE     = 2713;
  IDC_MSGI_WARN     = 2714;
  IDC_MSGI_INFO     = 2715;
  IDC_MSGI_QUEST    = 2716;
  IDC_MSGI_ERROR    = 2717;
  IDC_MSG_KEEP      = 2718;

// Variables buttons
  IDC_SRV_WPAR = 3000;
  IDC_SRV_LPAR = 3001;
  IDC_SRV_SRVC = 3002;
  IDC_PRG_PRG  = 3003;
  IDC_PRG_ARG  = 3004;
  IDC_TXT_FILE = 3005;
  IDC_TXT_TEXT = 3006;
  IDC_RW_MVAR  = 3008;
  IDC_RW_SVAR  = 3009;
  IDC_RW_TVAR  = 3010;
  IDC_MSG_TTL  = 3011;
  IDC_MSG_TXT  = 3012;

// Question
  IDC_ASK    = 1025;
  IDC_YESALL = 1026;
  IDC_NOALL  = 1027;
  IDC_APPEND = 1028;