DAC_VCDEMO.rc
上传用户:fuyouda
上传日期:2015-08-19
资源大小:6876k
文件大小:13k
源码类别:

家庭/个人应用

开发平台:

Visual C++

  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. // Chinese (P.R.C.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
  17. #pragma code_page(936)
  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_CHS)rn"
  41.     "#ifdef _WIN32rn"
  42.     "LANGUAGE 4, 2rn"
  43.     "#pragma code_page(936)rn"
  44.     "#endif //_WIN32rn"
  45.     "#include ""res\DAC_VCDEMO.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  46.     "#include ""l.chs\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\DAC_VCDEMO.ico"
  58. /////////////////////////////////////////////////////////////////////////////
  59. //
  60. // Dialog
  61. //
  62. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 235, 71
  63. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  64. CAPTION "About..."
  65. FONT 9, "宋体"
  66. BEGIN
  67.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,21,21
  68.     LTEXT           "OPC数据访问服务器客户端开发工具包",IDC_STATIC,40,10,141,
  69.                     8,SS_NOPREFIX
  70.     LTEXT           "VC样例程序",IDC_STATIC,40,25,119,8
  71.     DEFPUSHBUTTON   "确定",IDOK,178,7,50,14,WS_GROUP
  72.     LTEXT           "北京安捷尔软件技术有限公司",IDC_STATIC,40,39,119,8
  73.     LTEXT           "http://www.agilewill.com",IDC_STATIC,39,53,119,8
  74. END
  75. IDD_DAC_VCDEMO_DIALOG DIALOGEX 0, 0, 432, 313
  76. STYLE DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | 
  77.     WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  78. EXSTYLE WS_EX_APPWINDOW
  79. CAPTION "DAC_VCDEMO"
  80. MENU IDR_MENU1
  81. FONT 9, "宋体"
  82. BEGIN
  83.     CONTROL         "List1",IDC_LIST,"SysListView32",LVS_REPORT | 
  84.                     LVS_SINGLESEL | WS_BORDER,0,0,431,313,WS_EX_CLIENTEDGE
  85. END
  86. IDD_ServerStatus DIALOG DISCARDABLE  0, 0, 187, 138
  87. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  88. CAPTION "Server Status"
  89. FONT 10, "System"
  90. BEGIN
  91.     DEFPUSHBUTTON   "Done",IDOK,141,7,39,12
  92.     EDITTEXT        IDC_EDIT1,52,7,84,12,ES_AUTOHSCROLL
  93.     LTEXT           "StartTime",IDC_STATIC,7,8,44,10
  94.     EDITTEXT        IDC_EDIT2,52,21,84,12,ES_AUTOHSCROLL
  95.     LTEXT           "CurrentTime",IDC_STATIC,7,22,44,10
  96.     EDITTEXT        IDC_EDIT3,52,35,84,12,ES_AUTOHSCROLL
  97.     LTEXT           "UpdateTime",IDC_STATIC,7,36,44,10
  98.     EDITTEXT        IDC_EDIT4,52,49,84,12,ES_AUTOHSCROLL
  99.     LTEXT           "BandWidth",IDC_STATIC,7,50,44,10
  100.     EDITTEXT        IDC_EDIT5,52,63,84,12,ES_AUTOHSCROLL
  101.     LTEXT           "State",IDC_STATIC,7,64,44,10
  102.     EDITTEXT        IDC_EDIT6,52,77,84,12,ES_AUTOHSCROLL
  103.     LTEXT           "GroupCount",IDC_STATIC,7,78,44,10
  104.     EDITTEXT        IDC_EDIT7,52,91,84,12,ES_AUTOHSCROLL
  105.     LTEXT           "MajorVersion",IDC_STATIC,7,92,44,10
  106.     EDITTEXT        IDC_EDIT8,52,105,84,12,ES_AUTOHSCROLL
  107.     LTEXT           "MinorVersion",IDC_STATIC,7,106,44,10
  108.     EDITTEXT        IDC_EDIT9,52,119,84,12,ES_AUTOHSCROLL
  109.     LTEXT           "BuildNumber",IDC_STATIC,7,120,44,10
  110. END
  111. IDD_ItemBrowser DIALOGEX 0, 0, 205, 136
  112. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  113. CAPTION "Item Browser"
  114. FONT 10, "System"
  115. BEGIN
  116.     DEFPUSHBUTTON   "Add Item",IDAdd,148,7,50,10
  117.     PUSHBUTTON      "Done",IDCANCEL,148,19,50,10
  118.     PUSHBUTTON      "Item Properties",IDRefresh,148,32,50,10
  119.     CONTROL         "Tree1",IDC_TREE1,"SysTreeView32",TVS_HASBUTTONS | 
  120.                     TVS_HASLINES | TVS_LINESATROOT | TVS_SHOWSELALWAYS | 
  121.                     WS_BORDER | WS_TABSTOP,7,43,114,86,WS_EX_STATICEDGE
  122.     EDITTEXT        IDC_EDIT1,51,7,91,12,ES_AUTOHSCROLL
  123.     EDITTEXT        IDC_EDIT2,51,19,91,12,ES_AUTOHSCROLL
  124.     LISTBOX         IDC_LIST,122,43,76,86,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | 
  125.                     WS_TABSTOP
  126.     LTEXT           "ItemName",IDC_STATIC,7,8,43,8
  127.     LTEXT           "Access Path",IDC_STATIC,7,20,43,8
  128.     LTEXT           "Address Space",IDC_STATIC,7,32,56,8
  129. END
  130. IDD_ServerBrowser DIALOG DISCARDABLE  0, 0, 231, 134
  131. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  132. CAPTION "Server Browser"
  133. FONT 10, "System"
  134. BEGIN
  135.     DEFPUSHBUTTON   "OK",IDOK,185,7,39,12
  136.     PUSHBUTTON      "Cancel",IDOK2,185,20,39,12
  137.     PUSHBUTTON      "Refresh",IDRefresh,185,34,39,12
  138.     EDITTEXT        IDC_EDIT1,62,7,118,12,ES_AUTOHSCROLL
  139.     EDITTEXT        IDC_EDIT2,62,21,118,12,ES_AUTOHSCROLL
  140.     EDITTEXT        IDC_EDIT3,62,35,118,12,ES_AUTOHSCROLL
  141.     LISTBOX         IDC_LIST,8,61,216,66,LBS_NOINTEGRALHEIGHT | WS_VSCROLL
  142.     CONTROL         "Version2.0",IDC_CHECK1,"Button",BS_AUTOCHECKBOX | 
  143.                     WS_TABSTOP,119,51,50,8
  144.     LTEXT           "ServerName",IDC_STATIC,8,8,49,11
  145.     LTEXT           "ServerClassID",IDC_STATIC,8,22,49,11
  146.     LTEXT           "Computer",IDC_STATIC,8,36,49,11
  147.     LTEXT           "ServerList",IDC_STATIC,8,50,49,11
  148. END
  149. IDD_ItemStatus DIALOGEX 0, 0, 195, 107
  150. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  151. CAPTION "Item Properties"
  152. FONT 10, "System"
  153. BEGIN
  154.     DEFPUSHBUTTON   "OK",IDOK,150,7,38,10
  155.     PUSHBUTTON      "Refresh",IDRefresh,150,24,38,10
  156.     CONTROL         "List1",IDC_LIST,"SysListView32",LVS_REPORT | 
  157.                     LVS_SINGLESEL | WS_BORDER | WS_TABSTOP,7,7,139,93,
  158.                     WS_EX_CLIENTEDGE
  159. END
  160. IDD_GroupStatus DIALOG DISCARDABLE  0, 0, 172, 78
  161. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  162. CAPTION "Group Status"
  163. FONT 10, "System"
  164. BEGIN
  165.     DEFPUSHBUTTON   "OK",IDOK,130,7,35,12
  166.     PUSHBUTTON      "Cancel",IDCANCEL,130,20,35,12
  167.     EDITTEXT        IDC_EDIT1,56,7,66,12,ES_AUTOHSCROLL
  168.     EDITTEXT        IDC_EDIT2,56,20,32,12,ES_AUTOHSCROLL
  169.     EDITTEXT        IDC_EDIT3,56,33,32,12,ES_AUTOHSCROLL
  170.     EDITTEXT        IDC_EDIT4,56,46,32,12,ES_AUTOHSCROLL
  171.     CONTROL         "",IDC_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,56,60,
  172.                     13,9
  173.     LTEXT           "GroupName",IDC_STATIC,7,7,38,9
  174.     LTEXT           "UpdateRate",IDC_STATIC,7,21,38,9
  175.     LTEXT           "%FS",IDC_STATIC,88,35,38,9
  176.     LTEXT           "TimeBias",IDC_STATIC,7,47,38,9
  177.     LTEXT           "Active",IDC_STATIC,7,59,38,9
  178.     LTEXT           "Deadband",IDC_STATIC,7,34,38,9
  179.     LTEXT           "Minutes",IDC_STATIC,89,48,38,9
  180.     LTEXT           "Second",IDC_STATIC,88,22,38,9
  181. END
  182. IDD_ItemActive DIALOG DISCARDABLE  0, 0, 104, 37
  183. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  184. CAPTION "Item Active"
  185. FONT 10, "System"
  186. BEGIN
  187.     DEFPUSHBUTTON   "OK",IDOK,66,7,31,11
  188.     PUSHBUTTON      "Cancel",IDCANCEL,66,19,31,11
  189.     CONTROL         "",IDC_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,33,7,
  190.                     16,8
  191.     LTEXT           "Active",IDC_STATIC,7,7,21,8
  192. END
  193. IDD_ItemWrite DIALOG DISCARDABLE  0, 0, 146, 40
  194. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  195. CAPTION "Item Write"
  196. FONT 10, "System"
  197. BEGIN
  198.     DEFPUSHBUTTON   "OK",IDOK,105,7,34,12
  199.     PUSHBUTTON      "Cancel",IDCANCEL,105,21,34,12
  200.     LTEXT           "Value",IDC_STATIC,7,7,21,10
  201.     EDITTEXT        IDC_EDIT1,36,7,60,12,ES_AUTOHSCROLL
  202.     CONTROL         "",IDC_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,36,21,
  203.                     22,11
  204.     LTEXT           "Async",IDC_STATIC,7,22,21,11
  205. END
  206. #ifndef _MAC
  207. /////////////////////////////////////////////////////////////////////////////
  208. //
  209. // Version
  210. //
  211. VS_VERSION_INFO VERSIONINFO
  212.  FILEVERSION 1,0,0,1
  213.  PRODUCTVERSION 1,0,0,1
  214.  FILEFLAGSMASK 0x3fL
  215. #ifdef _DEBUG
  216.  FILEFLAGS 0x1L
  217. #else
  218.  FILEFLAGS 0x0L
  219. #endif
  220.  FILEOS 0x4L
  221.  FILETYPE 0x1L
  222.  FILESUBTYPE 0x0L
  223. BEGIN
  224.     BLOCK "StringFileInfo"
  225.     BEGIN
  226.         BLOCK "080404B0"
  227.         BEGIN
  228.             VALUE "CompanyName", ""
  229.             VALUE "FileDescription", "DAC_VCDEMO Microsoft 基础类应用程序"
  230.             VALUE "FileVersion", "1, 0, 0, 1"
  231.             VALUE "InternalName", "DAC_VCDEMO"
  232.             VALUE "LegalCopyright", "版权所有 (C) 2005"
  233.             VALUE "LegalTrademarks", ""
  234.             VALUE "OriginalFilename", "DAC_VCDEMO.EXE"
  235.             VALUE "ProductName", "DAC_VCDEMO 应用程序"
  236.             VALUE "ProductVersion", "1, 0, 0, 1"
  237.         END
  238.     END
  239.     BLOCK "VarFileInfo"
  240.     BEGIN
  241.         VALUE "Translation", 0x804, 1200
  242.     END
  243. END
  244. #endif    // !_MAC
  245. /////////////////////////////////////////////////////////////////////////////
  246. //
  247. // DESIGNINFO
  248. //
  249. #ifdef APSTUDIO_INVOKED
  250. GUIDELINES DESIGNINFO DISCARDABLE 
  251. BEGIN
  252.     IDD_ABOUTBOX, DIALOG
  253.     BEGIN
  254.         LEFTMARGIN, 7
  255.         RIGHTMARGIN, 228
  256.         TOPMARGIN, 7
  257.         BOTTOMMARGIN, 64
  258.     END
  259.     IDD_ServerStatus, DIALOG
  260.     BEGIN
  261.         LEFTMARGIN, 7
  262.         RIGHTMARGIN, 180
  263.         TOPMARGIN, 7
  264.         BOTTOMMARGIN, 131
  265.     END
  266.     IDD_ItemBrowser, DIALOG
  267.     BEGIN
  268.         LEFTMARGIN, 7
  269.         RIGHTMARGIN, 198
  270.         TOPMARGIN, 7
  271.         BOTTOMMARGIN, 129
  272.     END
  273.     IDD_ServerBrowser, DIALOG
  274.     BEGIN
  275.         LEFTMARGIN, 7
  276.         RIGHTMARGIN, 224
  277.         TOPMARGIN, 7
  278.         BOTTOMMARGIN, 127
  279.     END
  280.     IDD_ItemStatus, DIALOG
  281.     BEGIN
  282.         LEFTMARGIN, 7
  283.         RIGHTMARGIN, 188
  284.         TOPMARGIN, 7
  285.         BOTTOMMARGIN, 100
  286.     END
  287.     IDD_GroupStatus, DIALOG
  288.     BEGIN
  289.         LEFTMARGIN, 7
  290.         RIGHTMARGIN, 165
  291.         TOPMARGIN, 7
  292.         BOTTOMMARGIN, 71
  293.     END
  294.     IDD_ItemActive, DIALOG
  295.     BEGIN
  296.         LEFTMARGIN, 7
  297.         RIGHTMARGIN, 97
  298.         TOPMARGIN, 7
  299.         BOTTOMMARGIN, 30
  300.     END
  301.     IDD_ItemWrite, DIALOG
  302.     BEGIN
  303.         LEFTMARGIN, 7
  304.         RIGHTMARGIN, 139
  305.         TOPMARGIN, 7
  306.         BOTTOMMARGIN, 33
  307.     END
  308. END
  309. #endif    // APSTUDIO_INVOKED
  310. /////////////////////////////////////////////////////////////////////////////
  311. //
  312. // Menu
  313. //
  314. IDR_MENU1 MENU DISCARDABLE 
  315. BEGIN
  316.     POPUP "File"
  317.     BEGIN
  318.         MENUITEM "Exit",                        ID_MENUExit
  319.     END
  320.     POPUP "OPC"
  321.     BEGIN
  322.         MENUITEM "Connect",                     ID_MENUConnect
  323.         MENUITEM "Disconnect",                  ID_MENUDisconnect
  324.         MENUITEM "ServerStatus",                ID_MENUServerStatus
  325.         MENUITEM SEPARATOR
  326.         MENUITEM "Group Status",                ID_MENUGroupStatus
  327.         MENUITEM "Group Refresh",               ID_MENUGroupRefresh
  328.         MENUITEM SEPARATOR
  329.         MENUITEM "Add Item",                    ID_MENUItemAdd
  330.         MENUITEM "Remove Item",                 ID_MENUItemRemove
  331.         MENUITEM "Read Item",                   ID_MENUItemRead
  332.         MENUITEM "Write Item",                  ID_MENUItemWrite
  333.         MENUITEM "Active Item",                 ID_MENUItemActive
  334.         MENUITEM "Item Properties",             ID_MENUItemStatus
  335.     END
  336.     POPUP "Help"
  337.     BEGIN
  338.         MENUITEM "About",                       ID_MENUAbout
  339.     END
  340. END
  341. /////////////////////////////////////////////////////////////////////////////
  342. //
  343. // String Table
  344. //
  345. STRINGTABLE DISCARDABLE 
  346. BEGIN
  347.     IDS_ABOUTBOX            "关于 DAC_VCDEMO(&A)..."
  348. END
  349. #endif    // Chinese (P.R.C.) resources
  350. /////////////////////////////////////////////////////////////////////////////
  351. #ifndef APSTUDIO_INVOKED
  352. /////////////////////////////////////////////////////////////////////////////
  353. //
  354. // Generated from the TEXTINCLUDE 3 resource.
  355. //
  356. #define _AFX_NO_SPLITTER_RESOURCES
  357. #define _AFX_NO_OLE_RESOURCES
  358. #define _AFX_NO_TRACKER_RESOURCES
  359. #define _AFX_NO_PROPERTY_RESOURCES
  360. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
  361. #ifdef _WIN32
  362. LANGUAGE 4, 2
  363. #pragma code_page(936)
  364. #endif //_WIN32
  365. #include "resDAC_VCDEMO.rc2"  // non-Microsoft Visual C++ edited resources
  366. #include "l.chsafxres.rc"          // Standard components
  367. #endif
  368. /////////////////////////////////////////////////////////////////////////////
  369. #endif    // not APSTUDIO_INVOKED