bo2kcfg.rc
上传用户:jinandeyu
上传日期:2007-01-05
资源大小:620k
文件大小:16k
源码类别:

远程控制编程

开发平台:

WINDOWS

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. /////////////////////////////////////////////////////////////////////////////
  13. // English (U.S.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  17. #pragma code_page(1252)
  18. #endif //_WIN32
  19. #ifdef APSTUDIO_INVOKED
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // TEXTINCLUDE
  23. //
  24. 1 TEXTINCLUDE DISCARDABLE 
  25. BEGIN
  26.     "resource.h"
  27. END
  28. 2 TEXTINCLUDE DISCARDABLE 
  29. BEGIN
  30.     "#include ""afxres.h""rn"
  31.     ""
  32. END
  33. 3 TEXTINCLUDE DISCARDABLE 
  34. BEGIN
  35.     "#define _AFX_NO_SPLITTER_RESOURCESrn"
  36.     "#define _AFX_NO_OLE_RESOURCESrn"
  37.     "#define _AFX_NO_TRACKER_RESOURCESrn"
  38.     "#define _AFX_NO_PROPERTY_RESOURCESrn"
  39.     "rn"
  40.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)rn"
  41.     "#ifdef _WIN32rn"
  42.     "LANGUAGE 9, 1rn"
  43.     "#pragma code_page(1252)rn"
  44.     "#endif //_WIN32rn"
  45.     "#include ""res\bo2kcfg.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  46.     "#include ""afxres.rc""         // Standard componentsrn"
  47.     "#endifrn"
  48.     ""
  49. END
  50. #endif    // APSTUDIO_INVOKED
  51. /////////////////////////////////////////////////////////////////////////////
  52. //
  53. // Icon
  54. //
  55. // Icon with lowest ID value placed first to ensure application icon
  56. // remains consistent on all systems.
  57. IDR_MAINFRAME           ICON    DISCARDABLE     "res\bo2kcfg.ico"
  58. IDI_LITTLECOW           ICON    DISCARDABLE     "res\littleco.ico"
  59. IDI_BUTTWIZARD          ICON    DISCARDABLE     "res\icon1.ico"
  60. /////////////////////////////////////////////////////////////////////////////
  61. //
  62. // Dialog
  63. //
  64. IDD_BO2KCFG_DIALOG DIALOGEX 0, 0, 316, 233
  65. STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_CENTER | 
  66.     WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  67. EXSTYLE WS_EX_APPWINDOW
  68. CAPTION "BO2K Server Configuration"
  69. FONT 8, "MS Sans Serif"
  70. BEGIN
  71.     PUSHBUTTON      "Open Server...",IDC_OPENSERVER,184,4,80,16
  72.     PUSHBUTTON      "Save Server",IDC_SAVESERVER,184,24,80,16
  73.     PUSHBUTTON      "Close Server",IDC_CLOSESERVER,184,44,80,16
  74.     PUSHBUTTON      "Exit",IDC_EXIT,272,36,36,24
  75.     CONTROL         "List1",IDC_PLUGINS,"SysListView32",LVS_REPORT | 
  76.                     LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS | 
  77.                     LVS_ALIGNLEFT | LVS_NOSORTHEADER | WS_BORDER | 
  78.                     WS_TABSTOP,4,80,240,56
  79.     PUSHBUTTON      "Insert...",IDC_INSERT,248,80,60,16
  80.     PUSHBUTTON      "Remove",IDC_REMOVE,248,100,60,16
  81.     PUSHBUTTON      "Extract To File...",IDC_EXTRACT,248,120,60,16
  82.     CONTROL         "Tree1",IDC_OPTIONVARIABLES,"SysTreeView32",
  83.                     TVS_HASBUTTONS | TVS_HASLINES | TVS_LINESATROOT | 
  84.                     TVS_SHOWSELALWAYS | TVS_FULLROWSELECT | WS_BORDER | 
  85.                     WS_TABSTOP,4,152,116,68
  86.     EDITTEXT        IDC_STR_CURRENTVALUE,124,152,188,14,ES_AUTOHSCROLL | 
  87.                     ES_READONLY | WS_DISABLED
  88.     EDITTEXT        IDC_STR_NEWVALUE,124,176,188,14,ES_AUTOHSCROLL | 
  89.                     WS_DISABLED
  90.     CONTROL         "Disabled",IDC_BOOL_DISABLED,"Button",BS_AUTORADIOBUTTON | 
  91.                     WS_DISABLED,132,204,43,10
  92.     CONTROL         "Enabled",IDC_BOOL_ENABLED,"Button",BS_AUTORADIOBUTTON | 
  93.                     WS_DISABLED,184,204,42,10
  94.     PUSHBUTTON      "Set Value",IDC_SETVALUE,260,196,52,16,WS_DISABLED
  95.     LTEXT           "Plugins Loaded:",IDC_STATIC1,4,72,52,8
  96.     LTEXT           "Option Variables:",IDC_STATIC2,4,144,54,8
  97.     LTEXT           "Current Value:",IDC_STATIC_CURVAL,124,144,46,8,
  98.                     WS_DISABLED
  99.     LTEXT           "New Value:",IDC_STATIC_NEWVAL,124,168,38,8,WS_DISABLED
  100.     CTEXT           "Back Orifice 2000 Server Configuration Utility, Copyright (C) 1999, Cult of the Dead Cow",
  101.                     IDC_STATIC,4,224,308,8
  102.     EDITTEXT        IDC_FILENAME,4,16,176,14,ES_AUTOHSCROLL | ES_READONLY
  103.     LTEXT           "Current Server File:",IDC_STATIC,4,4,61,8
  104.     CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDHORZ,4,64,308,1
  105.     LTEXT           "Server Info:",IDC_SERVERINFO,4,32,176,28
  106.     GROUPBOX        "Switch Setting",IDC_BOOL_GROUP,124,192,116,28,
  107.                     WS_DISABLED
  108.     PUSHBUTTON      "Wizard",IDC_WIZARD,276,4,28,24,BS_ICON
  109. END
  110. IDD_WIZARD1 DIALOG DISCARDABLE  0, 0, 240, 170
  111. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
  112. CAPTION "BO2K Configuration Wizard - Step 1"
  113. FONT 8, "MS Sans Serif"
  114. BEGIN
  115.     DEFPUSHBUTTON   "&Next >>",IDOK,184,148,52,16
  116.     CONTROL         "Show this wizard on startup",IDC_SHOWWIZARD,"Button",
  117.                     BS_AUTOCHECKBOX | WS_TABSTOP,72,152,102,10
  118.     PUSHBUTTON      "&Exit Wizard",IDCANCEL,4,148,53,16
  119.     CONTROL         134,IDC_STATIC,"Static",SS_BITMAP | SS_SUNKEN,4,4,52,140
  120.     CONTROL         133,IDC_STATIC,"Static",SS_BITMAP | SS_SUNKEN,60,4,176,
  121.                     20
  122.     LTEXT           "Welcome to the BO2K Configuration Wizard!",IDC_STATIC,
  123.                     76,32,141,8
  124.     CTEXT           "This wizard will help you install components into your BO2K server and configure them. First, you'll be asked to choose a BO2K server, then we'll walk you through the process of configuring the server with a new password.",
  125.                     IDC_STATIC,68,52,160,40
  126.     CTEXT           " When you're done, your BO2K server will be ready for installation. Note that this wizard does not allow for full configuration flexibility. It is meant only to simplify the process of configuration.",
  127.                     IDC_STATIC,64,104,164,32
  128. END
  129. IDD_WIZARD2 DIALOG DISCARDABLE  0, 0, 240, 170
  130. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
  131. CAPTION "BO2K Configuration Wizard - Step 2"
  132. FONT 8, "MS Sans Serif"
  133. BEGIN
  134.     PUSHBUTTON      "&Browse...",IDC_BROWSE,184,92,52,16
  135.     DEFPUSHBUTTON   "&Next >>",IDOK,184,148,52,16
  136.     PUSHBUTTON      "<< &Back",IDBACK,128,148,52,16
  137.     PUSHBUTTON      "&Exit Wizard",IDCANCEL,4,148,53,16
  138.     CONTROL         134,IDC_STATIC,"Static",SS_BITMAP | SS_SUNKEN,4,4,52,140
  139.     CONTROL         133,IDC_STATIC,"Static",SS_BITMAP | SS_SUNKEN,60,4,176,
  140.                     20
  141.     LTEXT           "This step will allow you to choose a server file to configure. If you just want to use the default BO2K server, simply click  'Next'.",
  142.                     IDC_STATIC,60,31,173,28
  143.     LTEXT           "Choose a BO2K server file:",IDC_STATIC,60,64,86,8
  144.     EDITTEXT        IDC_SERVERFILE,60,76,176,12,ES_AUTOHSCROLL
  145.     LTEXT           "When you have chosen the server file, click 'Next'.",
  146.                     IDC_STATIC,60,124,161,8
  147. END
  148. IDD_WIZARD4 DIALOG DISCARDABLE  0, 0, 240, 170
  149. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
  150. CAPTION "BO2K Configuration Wizard - Step 4"
  151. FONT 8, "MS Sans Serif"
  152. BEGIN
  153.     EDITTEXT        IDC_PORT,140,96,48,12,ES_AUTOHSCROLL | ES_NUMBER
  154.     DEFPUSHBUTTON   "&Next >>",IDOK,184,148,52,16
  155.     PUSHBUTTON      "<< &Back",IDBACK,128,148,52,16
  156.     PUSHBUTTON      "&Exit Wizard",IDCANCEL,4,148,53,16
  157.     CONTROL         134,IDC_STATIC,"Static",SS_BITMAP | SS_SUNKEN,4,4,52,140
  158.     CONTROL         133,IDC_STATIC,"Static",SS_BITMAP | SS_SUNKEN,60,4,176,
  159.                     20
  160.     LTEXT           "To configure the network inteface, we'll need to choose a port for this to run on. A port is a number between 1 and 65535. You'll probably want to pick a number above 1024, to ensure that it doesn't conflict with any other registered ports.",
  161.                     IDC_STATIC,60,32,173,40
  162.     LTEXT           "Choose a port number:",IDC_STATIC,64,96,72,12
  163. END
  164. IDD_WIZARD3 DIALOG DISCARDABLE  0, 0, 240, 170
  165. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
  166. CAPTION "BO2K Configuration Wizard - Step 3"
  167. FONT 8, "MS Sans Serif"
  168. BEGIN
  169.     CONTROL         "TCPIO Networking",IDC_TCPIO,"Button",BS_AUTORADIOBUTTON | 
  170.                     WS_GROUP,104,96,75,10
  171.     CONTROL         "UDPIO Networking",IDC_UDPIO,"Button",BS_AUTORADIOBUTTON,
  172.                     104,108,77,10
  173.     DEFPUSHBUTTON   "&Next >>",IDOK,184,148,52,16
  174.     PUSHBUTTON      "<< &Back",IDBACK,128,148,52,16
  175.     PUSHBUTTON      "&Exit Wizard",IDCANCEL,4,148,53,16
  176.     CONTROL         134,IDC_STATIC,"Static",SS_BITMAP | SS_SUNKEN,4,4,52,140
  177.     CONTROL         133,IDC_STATIC,"Static",SS_BITMAP | SS_SUNKEN,60,4,176,
  178.                     20
  179.     LTEXT           "This step will allow you to choose a networking module. If you want to use UDP to transfer packets, know that it is by nature an unreliable protocol, and that sometimes connections may be dropped. Choose TCP unless you know for sure what you want.",
  180.                     IDC_STATIC,60,28,176,40
  181.     GROUPBOX        "Network Type",IDC_STATIC,96,80,108,48
  182. END
  183. IDD_WIZARD5 DIALOG DISCARDABLE  0, 0, 240, 170
  184. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
  185. CAPTION "BO2K Configuration Wizard - Step 5"
  186. FONT 8, "MS Sans Serif"
  187. BEGIN
  188.     CONTROL         "XOR",IDC_XOR,"Button",BS_AUTORADIOBUTTON | WS_GROUP,116,
  189.                     112,31,10
  190.     CONTROL         "3DES",IDC_3DES,"Button",BS_AUTORADIOBUTTON,116,124,35,
  191.                     10
  192.     DEFPUSHBUTTON   "&Next >>",IDOK,184,148,52,16
  193.     PUSHBUTTON      "<< &Back",IDBACK,128,148,52,16
  194.     PUSHBUTTON      "&Exit Wizard",IDCANCEL,4,148,53,16
  195.     CONTROL         134,IDC_STATIC,"Static",SS_BITMAP | SS_SUNKEN,4,4,53,142
  196.     CONTROL         133,IDC_STATIC,"Static",SS_BITMAP | SS_SUNKEN,60,4,177,
  197.                     22
  198.     GROUPBOX        "Encryption Type",IDC_STATIC,108,100,72,40
  199.     LTEXT           "This step will allow you to choose an encryption method. Currently, you can choose between two different types of encryption, XOR, and 3DES.",
  200.                     IDC_STATIC,60,28,176,24
  201.     LTEXT           "XOR is meant only for non-critical communications, while 3DES is meant for secure strong private communications. 3DES is only available in the US version of the product due to our country's ignorant and foolish export restrictions. If you can, pick 3DES.",
  202.                     IDC_STATIC,60,56,176,40
  203. END
  204. IDD_WIZARD6 DIALOG DISCARDABLE  0, 0, 240, 170
  205. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
  206. CAPTION "BO2K Configuration Wizard - Step 6"
  207. FONT 8, "MS Sans Serif"
  208. BEGIN
  209.     DEFPUSHBUTTON   "&Next >>",IDOK,184,148,52,16
  210.     PUSHBUTTON      "<< &Back",IDBACK,128,148,52,16
  211.     PUSHBUTTON      "&Exit Wizard",IDCANCEL,4,148,53,16
  212.     CONTROL         134,IDC_STATIC,"Static",SS_BITMAP | SS_SUNKEN,4,4,52,140
  213.     CONTROL         133,IDC_STATIC,"Static",SS_BITMAP | SS_SUNKEN,60,4,176,
  214.                     20
  215.     LTEXT           "Now we need to choose an encryption key for your communications. The key is a password or passphrase that you will have to remember in order to connect to the server.",
  216.                     IDC_STATIC,60,31,176,32
  217.     LTEXT           "Enter your password/passphrase here:",IDC_STATIC,65,101,
  218.                     122,8
  219.     EDITTEXT        IDC_PASSWORD,65,109,168,14,ES_AUTOHSCROLL
  220.     LTEXT           "Number of characters:",IDC_STATIC,117,129,71,8
  221.     EDITTEXT        IDC_LETTERCOUNT,193,129,40,14,ES_AUTOHSCROLL | 
  222.                     ES_READONLY | NOT WS_BORDER
  223.     LTEXT           "If you chose 'XOR' encryption, your password should be at least 4 characters long. If you chose '3DES' encryption, you password should be at least 14 characters long.",
  224.                     IDC_STATIC,60,64,173,31
  225. END
  226. IDD_WIZARD7 DIALOG DISCARDABLE  0, 0, 240, 170
  227. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
  228. CAPTION "BO2K Configuration Wizard - Finish"
  229. FONT 8, "MS Sans Serif"
  230. BEGIN
  231.     DEFPUSHBUTTON   "&Finish",IDOK,184,148,52,16
  232.     PUSHBUTTON      "<< &Back",IDBACK,128,148,52,16
  233.     PUSHBUTTON      "&Exit Wizard",IDCANCEL,4,148,53,16
  234.     CONTROL         134,IDC_STATIC,"Static",SS_BITMAP | SS_SUNKEN,4,4,52,140
  235.     CONTROL         133,IDC_STATIC,"Static",SS_BITMAP | SS_SUNKEN,60,4,176,
  236.                     20
  237.     LTEXT           "Wizard setup is complete!",IDC_STATIC,64,32,172,8
  238.     LTEXT           "Hit 'Finish' to write the server configuration to disk, and to configure your client for this machine.",
  239.                     IDC_STATIC,64,108,168,20
  240.     LTEXT           "At this point, your server is configured and ready to go. Remember to configure your client to connect using the same options.",
  241.                     IDC_STATIC,64,48,172,26
  242.     LTEXT           "If you are going to connect to the server using this computer, then your client will be automatically set up when you hit 'Finish'.",
  243.                     IDC_STATIC,64,76,170,24
  244. END
  245. #ifndef _MAC
  246. /////////////////////////////////////////////////////////////////////////////
  247. //
  248. // Version
  249. //
  250. VS_VERSION_INFO VERSIONINFO
  251.  FILEVERSION 1,0,0,1
  252.  PRODUCTVERSION 1,0,0,1
  253.  FILEFLAGSMASK 0x3fL
  254. #ifdef _DEBUG
  255.  FILEFLAGS 0x1L
  256. #else
  257.  FILEFLAGS 0x0L
  258. #endif
  259.  FILEOS 0x4L
  260.  FILETYPE 0x1L
  261.  FILESUBTYPE 0x0L
  262. BEGIN
  263.     BLOCK "StringFileInfo"
  264.     BEGIN
  265.         BLOCK "040904B0"
  266.         BEGIN
  267.             VALUE "CompanyName", ""
  268.             VALUE "FileDescription", "bo2kcfg MFC Application"
  269.             VALUE "FileVersion", "1, 0, 0, 1"
  270.             VALUE "InternalName", "bo2kcfg"
  271.             VALUE "LegalCopyright", "Copyright (C) 1999"
  272.             VALUE "LegalTrademarks", ""
  273.             VALUE "OriginalFilename", "bo2kcfg.EXE"
  274.             VALUE "ProductName", "bo2kcfg Application"
  275.             VALUE "ProductVersion", "1, 0, 0, 1"
  276.         END
  277.     END
  278.     BLOCK "VarFileInfo"
  279.     BEGIN
  280.         VALUE "Translation", 0x409, 1200
  281.     END
  282. END
  283. #endif    // !_MAC
  284. /////////////////////////////////////////////////////////////////////////////
  285. //
  286. // DESIGNINFO
  287. //
  288. #ifdef APSTUDIO_INVOKED
  289. GUIDELINES DESIGNINFO DISCARDABLE 
  290. BEGIN
  291.     IDD_BO2KCFG_DIALOG, DIALOG
  292.     BEGIN
  293.         LEFTMARGIN, 7
  294.         RIGHTMARGIN, 309
  295.         TOPMARGIN, 7
  296.         BOTTOMMARGIN, 226
  297.     END
  298.     IDD_WIZARD1, DIALOG
  299.     BEGIN
  300.         LEFTMARGIN, 7
  301.         RIGHTMARGIN, 233
  302.         TOPMARGIN, 7
  303.         BOTTOMMARGIN, 163
  304.     END
  305.     IDD_WIZARD2, DIALOG
  306.     BEGIN
  307.         LEFTMARGIN, 7
  308.         RIGHTMARGIN, 233
  309.         TOPMARGIN, 7
  310.         BOTTOMMARGIN, 163
  311.     END
  312.     IDD_WIZARD4, DIALOG
  313.     BEGIN
  314.         LEFTMARGIN, 7
  315.         RIGHTMARGIN, 233
  316.         TOPMARGIN, 7
  317.         BOTTOMMARGIN, 163
  318.     END
  319.     IDD_WIZARD3, DIALOG
  320.     BEGIN
  321.         LEFTMARGIN, 7
  322.         RIGHTMARGIN, 233
  323.         TOPMARGIN, 7
  324.         BOTTOMMARGIN, 163
  325.     END
  326.     IDD_WIZARD5, DIALOG
  327.     BEGIN
  328.         LEFTMARGIN, 7
  329.         RIGHTMARGIN, 236
  330.         TOPMARGIN, 7
  331.         BOTTOMMARGIN, 163
  332.     END
  333.     IDD_WIZARD6, DIALOG
  334.     BEGIN
  335.         LEFTMARGIN, 7
  336.         RIGHTMARGIN, 233
  337.         TOPMARGIN, 7
  338.         BOTTOMMARGIN, 163
  339.     END
  340.     IDD_WIZARD7, DIALOG
  341.     BEGIN
  342.         LEFTMARGIN, 7
  343.         RIGHTMARGIN, 233
  344.         TOPMARGIN, 7
  345.         BOTTOMMARGIN, 163
  346.     END
  347. END
  348. #endif    // APSTUDIO_INVOKED
  349. /////////////////////////////////////////////////////////////////////////////
  350. //
  351. // Bitmap
  352. //
  353. IDB_IMGLIST             BITMAP  DISCARDABLE     "res\bitmap1.bmp"
  354. IDB_BO2KCFGBANNER       BITMAP  DISCARDABLE     "res\bo2kcfgbanner.bmp"
  355. IDB_BANNER1             BITMAP  DISCARDABLE     "res\banner1.bmp"
  356. /////////////////////////////////////////////////////////////////////////////
  357. //
  358. // String Table
  359. //
  360. STRINGTABLE PRELOAD DISCARDABLE 
  361. BEGIN
  362.     AFX_IDS_APP_TITLE       "BO2K Configuration Tool"
  363.     AFX_IDS_IDLEMESSAGE     "Ready"
  364. END
  365. #endif    // English (U.S.) resources
  366. /////////////////////////////////////////////////////////////////////////////
  367. #ifndef APSTUDIO_INVOKED
  368. /////////////////////////////////////////////////////////////////////////////
  369. //
  370. // Generated from the TEXTINCLUDE 3 resource.
  371. //
  372. #define _AFX_NO_SPLITTER_RESOURCES
  373. #define _AFX_NO_OLE_RESOURCES
  374. #define _AFX_NO_TRACKER_RESOURCES
  375. #define _AFX_NO_PROPERTY_RESOURCES
  376. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  377. #ifdef _WIN32
  378. LANGUAGE 9, 1
  379. #pragma code_page(1252)
  380. #endif //_WIN32
  381. #include "resbo2kcfg.rc2"  // non-Microsoft Visual C++ edited resources
  382. #include "afxres.rc"         // Standard components
  383. #endif
  384. /////////////////////////////////////////////////////////////////////////////
  385. #endif    // not APSTUDIO_INVOKED