commtest.rc
上传用户:skyblue117
上传日期:2013-02-13
资源大小:53k
文件大小:12k
源码类别:

串口编程

开发平台:

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. // 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. /////////////////////////////////////////////////////////////////////////////
  20. //
  21. // Dialog
  22. //
  23. IDD_COMMTEST_DIALOG DIALOGEX 0, 0, 462, 287
  24. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  25. EXSTYLE WS_EX_APPWINDOW
  26. CAPTION "Communicationport stress test"
  27. FONT 8, "MS Sans Serif"
  28. BEGIN
  29.     DEFPUSHBUTTON   "Exit",IDOK,380,264,75,14
  30.     LISTBOX         IDC_LIST1,15,34,101,142,WS_VSCROLL | WS_TABSTOP
  31.     LISTBOX         IDC_LIST2,125,34,101,144,WS_VSCROLL | WS_TABSTOP
  32.     LISTBOX         IDC_LIST3,235,34,101,144,WS_VSCROLL | WS_TABSTOP
  33.     LISTBOX         IDC_LIST4,345,34,101,145,WS_VSCROLL | WS_TABSTOP
  34.     LTEXT           "Port 1",IDC_STATIC1,15,15,21,8
  35.     LTEXT           "Port 2",IDC_STATIC2,125,15,20,8
  36.     LTEXT           "Port 3",IDC_STATIC3,235,15,20,8
  37.     LTEXT           "Port 4",IDC_STATIC4,345,15,20,8
  38.     EDITTEXT        IDC_EDIT1,15,215,101,14,ES_AUTOHSCROLL
  39.     EDITTEXT        IDC_EDIT2,125,215,101,14,ES_AUTOHSCROLL
  40.     EDITTEXT        IDC_EDIT3,235,215,101,14,ES_AUTOHSCROLL
  41.     EDITTEXT        IDC_EDIT4,345,215,101,14,ES_AUTOHSCROLL
  42.     PUSHBUTTON      "Send",IDC_BUTTON1,66,234,50,15
  43.     PUSHBUTTON      "Send",IDC_BUTTON2,176,234,50,14
  44.     PUSHBUTTON      "Send",IDC_BUTTON3,286,234,50,14
  45.     PUSHBUTTON      "Send",IDC_BUTTON4,396,234,50,14
  46.     GROUPBOX        "",IDC_STATIC,7,3,448,255
  47.     LTEXT           "Copyright (c) 1997 by R. Spekreijse (remon.spekreijse@ict.nl)",
  48.                     IDC_STATIC,8,266,299,8
  49.     PUSHBUTTON      "Clear",IDC_BUTTON7,66,189,50,14
  50.     PUSHBUTTON      "Clear",IDC_BUTTON8,176,189,50,14
  51.     PUSHBUTTON      "Clear",IDC_BUTTON9,286,189,50,14
  52.     PUSHBUTTON      "Clear",IDC_BUTTON10,396,189,50,14
  53.     PUSHBUTTON      "Configurate",IDC_CONFIGBUTTON1,66,15,50,14
  54.     PUSHBUTTON      "Configurate",IDC_CONFIGBUTTON2,176,15,50,14
  55.     PUSHBUTTON      "Configurate",IDC_CONFIGBUTTON3,285,15,50,14
  56.     PUSHBUTTON      "Configurate",IDC_CONFIGBUTTON4,395,15,50,14
  57.     CONTROL         "Add CR",IDC_CHECK1,"Button",BS_AUTOCHECKBOX | 
  58.                     WS_TABSTOP,15,233,41,10
  59.     CONTROL         "Add CR",IDC_CHECK2,"Button",BS_AUTOCHECKBOX | 
  60.                     WS_TABSTOP,125,233,41,10
  61.     CONTROL         "Add CR",IDC_CHECK3,"Button",BS_AUTOCHECKBOX | 
  62.                     WS_TABSTOP,235,233,41,10
  63.     CONTROL         "Add CR",IDC_CHECK4,"Button",BS_AUTOCHECKBOX | 
  64.                     WS_TABSTOP,345,233,41,10
  65.     CONTROL         "Line break at CR",IDC_CHECK5,"Button",BS_AUTOCHECKBOX | 
  66.                     WS_TABSTOP,15,176,69,10
  67.     CONTROL         "Line break at CR",IDC_CHECK6,"Button",BS_AUTOCHECKBOX | 
  68.                     WS_TABSTOP,125,176,69,10
  69.     CONTROL         "Line break at CR",IDC_CHECK7,"Button",BS_AUTOCHECKBOX | 
  70.                     WS_TABSTOP,235,176,69,10
  71.     CONTROL         "Line break at CR",IDC_CHECK8,"Button",BS_AUTOCHECKBOX | 
  72.                     WS_TABSTOP,345,176,69,10
  73. END
  74. #ifndef _MAC
  75. /////////////////////////////////////////////////////////////////////////////
  76. //
  77. // Version
  78. //
  79. VS_VERSION_INFO VERSIONINFO
  80.  FILEVERSION 1,0,0,1
  81.  PRODUCTVERSION 1,0,0,1
  82.  FILEFLAGSMASK 0x3fL
  83. #ifdef _DEBUG
  84.  FILEFLAGS 0x1L
  85. #else
  86.  FILEFLAGS 0x0L
  87. #endif
  88.  FILEOS 0x4L
  89.  FILETYPE 0x1L
  90.  FILESUBTYPE 0x0L
  91. BEGIN
  92.     BLOCK "StringFileInfo"
  93.     BEGIN
  94.         BLOCK "040904b0"
  95.         BEGIN
  96.             VALUE "Comments", "Communication port test application"
  97.             VALUE "CompanyName", "R. Spekreijse"
  98.             VALUE "FileDescription", "Commtest Application"
  99.             VALUE "FileVersion", "1, 0, 0, 1"
  100.             VALUE "InternalName", "commtest"
  101.             VALUE "LegalCopyright", "This application is freeware. If you use it, please send an e-mail to remon.spekreijse@ict.nl"
  102.             VALUE "OriginalFilename", "commtest.EXE"
  103.             VALUE "ProductName", "commtest Application"
  104.             VALUE "ProductVersion", "1, 0, 0, 1"
  105.         END
  106.     END
  107.     BLOCK "VarFileInfo"
  108.     BEGIN
  109.         VALUE "Translation", 0x409, 1200
  110.     END
  111. END
  112. #endif    // !_MAC
  113. /////////////////////////////////////////////////////////////////////////////
  114. //
  115. // DESIGNINFO
  116. //
  117. #ifdef APSTUDIO_INVOKED
  118. GUIDELINES DESIGNINFO DISCARDABLE 
  119. BEGIN
  120.     IDD_COMMTEST_DIALOG, DIALOG
  121.     BEGIN
  122.         LEFTMARGIN, 7
  123.         RIGHTMARGIN, 455
  124.         TOPMARGIN, 7
  125.         BOTTOMMARGIN, 280
  126.     END
  127. END
  128. #endif    // APSTUDIO_INVOKED
  129. #endif    // English (U.S.) resources
  130. /////////////////////////////////////////////////////////////////////////////
  131. /////////////////////////////////////////////////////////////////////////////
  132. // Dutch (Netherlands) resources
  133. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NLD)
  134. #ifdef _WIN32
  135. LANGUAGE LANG_DUTCH, SUBLANG_DUTCH
  136. #pragma code_page(1252)
  137. #endif //_WIN32
  138. /////////////////////////////////////////////////////////////////////////////
  139. //
  140. // Dialog
  141. //
  142. IDD_CONFIGDIALOG DIALOGEX 0, 0, 275, 230
  143. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  144. CAPTION "Port Configuration"
  145. FONT 8, "MS Sans Serif", 0, 0, 0x1
  146. BEGIN
  147.     DEFPUSHBUTTON   "OK",IDOK,220,5,50,14
  148.     PUSHBUTTON      "Cancel",IDCANCEL,220,22,50,14
  149.     GROUPBOX        "",IDC_STATIC,9,1,204,220
  150.     RTEXT           "BaudRate:",IDC_STATIC,20,20,35,8
  151.     RTEXT           "Parity:",IDC_STATIC,35,38,20,8
  152.     RTEXT           "Stopbits:",IDC_STATIC,27,74,28,8
  153.     RTEXT           "Sendbuffer:",IDC_STATIC,17,92,38,8
  154.     RTEXT           "Databits:",IDC_STATIC,26,55,29,8
  155.     RTEXT           "Events:",IDC_STATIC,30,111,25,8
  156.     COMBOBOX        IDC_BAUDRATECOMBO,67,17,103,90,CBS_DROPDOWNLIST | 
  157.                     CBS_OEMCONVERT | CBS_NOINTEGRALHEIGHT | WS_VSCROLL | 
  158.                     WS_TABSTOP
  159.     COMBOBOX        IDC_PARITYCOMBO,67,35,103,90,CBS_DROPDOWNLIST | 
  160.                     CBS_UPPERCASE | WS_VSCROLL | WS_TABSTOP,WS_EX_RIGHT
  161.     COMBOBOX        IDC_DATABITSCOMBO,67,53,103,90,CBS_DROPDOWNLIST | 
  162.                     WS_VSCROLL | WS_TABSTOP,WS_EX_RIGHT
  163.     COMBOBOX        IDC_STOPBITSCOMBO,67,71,103,90,CBS_DROPDOWNLIST | 
  164.                     CBS_SORT | CBS_NOINTEGRALHEIGHT | WS_VSCROLL | 
  165.                     WS_TABSTOP,WS_EX_RIGHT
  166.     CONTROL         "Detect break on input",IDC_CHECK1,"Button",
  167.                     BS_AUTOCHECKBOX | WS_TABSTOP,67,110,85,10
  168.     CONTROL         "Clear To Send changed state",IDC_CHECK2,"Button",
  169.                     BS_AUTOCHECKBOX | WS_TABSTOP,67,122,109,10
  170.     CONTROL         "Data Set Ready changed state",IDC_CHECK3,"Button",
  171.                     BS_AUTOCHECKBOX | WS_TABSTOP,67,134,114,10
  172.     CONTROL         "Line status error occurred",IDC_CHECK4,"Button",
  173.                     BS_AUTOCHECKBOX | WS_TABSTOP,67,146,96,10
  174.     CONTROL         "Ring detected",IDC_CHECK5,"Button",BS_AUTOCHECKBOX | 
  175.                     WS_TABSTOP,67,158,61,10
  176.     CONTROL         "Receive Line Signal changed state",IDC_CHECK6,"Button",
  177.                     BS_AUTOCHECKBOX | WS_TABSTOP,67,170,127,10
  178.     CONTROL         "Character was received",IDC_CHECK7,"Button",
  179.                     BS_AUTOCHECKBOX | WS_TABSTOP,67,182,91,10
  180.     CONTROL         "Event character was received",IDC_CHECK8,"Button",
  181.                     BS_AUTOCHECKBOX | WS_TABSTOP,67,194,111,10
  182.     CONTROL         "Last character in outputbuffer was send",IDC_CHECK9,
  183.                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,67,206,141,10
  184.     COMBOBOX        IDC_SENDBUFFERCOMBO,67,89,104,90,CBS_DROPDOWN | 
  185.                     WS_VSCROLL | WS_TABSTOP,WS_EX_RIGHT
  186. END
  187. /////////////////////////////////////////////////////////////////////////////
  188. //
  189. // DESIGNINFO
  190. //
  191. #ifdef APSTUDIO_INVOKED
  192. GUIDELINES DESIGNINFO DISCARDABLE 
  193. BEGIN
  194.     IDD_CONFIGDIALOG, DIALOG
  195.     BEGIN
  196.         LEFTMARGIN, 7
  197.         RIGHTMARGIN, 268
  198.         TOPMARGIN, 7
  199.         BOTTOMMARGIN, 223
  200.     END
  201. END
  202. #endif    // APSTUDIO_INVOKED
  203. #ifdef APSTUDIO_INVOKED
  204. /////////////////////////////////////////////////////////////////////////////
  205. //
  206. // TEXTINCLUDE
  207. //
  208. 1 TEXTINCLUDE DISCARDABLE 
  209. BEGIN
  210.     "resource.h"
  211. END
  212. 2 TEXTINCLUDE DISCARDABLE 
  213. BEGIN
  214.     "#include ""afxres.h""rn"
  215.     ""
  216. END
  217. 3 TEXTINCLUDE DISCARDABLE 
  218. BEGIN
  219.     "#define _AFX_NO_SPLITTER_RESOURCESrn"
  220.     "#define _AFX_NO_OLE_RESOURCESrn"
  221.     "#define _AFX_NO_TRACKER_RESOURCESrn"
  222.     "#define _AFX_NO_PROPERTY_RESOURCESrn"
  223.     "rn"
  224.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)rn"
  225.     "#ifdef _WIN32rn"
  226.     "LANGUAGE 9, 1rn"
  227.     "#pragma code_page(1252)rn"
  228.     "#endifrn"
  229.     "#include ""res\commtest.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  230.     "#include ""afxres.rc""         // Standard componentsrn"
  231.     "#endif"
  232. END
  233. #endif    // APSTUDIO_INVOKED
  234. /////////////////////////////////////////////////////////////////////////////
  235. //
  236. // Icon
  237. //
  238. // Icon with lowest ID value placed first to ensure application icon
  239. // remains consistent on all systems.
  240. IDR_MAINFRAME           ICON    DISCARDABLE     "res\commtest.ico"
  241. /////////////////////////////////////////////////////////////////////////////
  242. //
  243. // Dialog Info
  244. //
  245. IDD_CONFIGDIALOG DLGINIT
  246. BEGIN
  247.     IDC_BAUDRATECOMBO, 0x403, 6, 0
  248. 0x3931, 0x3032, 0x0030, 
  249.     IDC_BAUDRATECOMBO, 0x403, 5, 0
  250. 0x3639, 0x3030, "00" 
  251.     IDC_BAUDRATECOMBO, 0x403, 5, 0
  252. 0x3432, 0x3030, "00" 
  253.     IDC_BAUDRATECOMBO, 0x403, 5, 0
  254. 0x3231, 0x3030, "00" 
  255.     IDC_BAUDRATECOMBO, 0x403, 4, 0
  256. 0x3033, 0x0030, 
  257.     IDC_PARITYCOMBO, 0x403, 5, 0
  258. 0x6f4e, 0x656e, "00" 
  259.     IDC_PARITYCOMBO, 0x403, 4, 0
  260. 0x644f, 0x0064, 
  261.     IDC_PARITYCOMBO, 0x403, 5, 0
  262. 0x7645, 0x6e65, "00" 
  263.     IDC_PARITYCOMBO, 0x403, 5, 0
  264. 0x614d, 0x6b72, "00" 
  265.     IDC_PARITYCOMBO, 0x403, 6, 0
  266. 0x7053, 0x6361, 0x0065, 
  267.     IDC_DATABITSCOMBO, 0x403, 2, 0
  268. 0x0038, 
  269.     IDC_DATABITSCOMBO, 0x403, 2, 0
  270. 0x0037, 
  271.     IDC_DATABITSCOMBO, 0x403, 2, 0
  272. 0x0036, 
  273.     IDC_STOPBITSCOMBO, 0x403, 2, 0
  274. 0x0031, 
  275.     IDC_STOPBITSCOMBO, 0x403, 4, 0
  276. 0x2e31, 0x0035, 
  277.     IDC_STOPBITSCOMBO, 0x403, 2, 0
  278. 0x0032, 
  279.     IDC_SENDBUFFERCOMBO, 0x403, 4, 0
  280. 0x3532, 0x0035, 
  281.     IDC_SENDBUFFERCOMBO, 0x403, 4, 0
  282. 0x3135, 0x0032, 
  283.     IDC_SENDBUFFERCOMBO, 0x403, 5, 0
  284. 0x3031, 0x3432, "00" 
  285.     IDC_SENDBUFFERCOMBO, 0x403, 5, 0
  286. 0x3032, 0x3834, "00" 
  287.     IDC_SENDBUFFERCOMBO, 0x403, 5, 0
  288. 0x3034, 0x3639, "00" 
  289.     0
  290. END
  291. #endif    // Dutch (Netherlands) resources
  292. /////////////////////////////////////////////////////////////////////////////
  293. #ifndef APSTUDIO_INVOKED
  294. /////////////////////////////////////////////////////////////////////////////
  295. //
  296. // Generated from the TEXTINCLUDE 3 resource.
  297. //
  298. #define _AFX_NO_SPLITTER_RESOURCES
  299. #define _AFX_NO_OLE_RESOURCES
  300. #define _AFX_NO_TRACKER_RESOURCES
  301. #define _AFX_NO_PROPERTY_RESOURCES
  302. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  303. #ifdef _WIN32
  304. LANGUAGE 9, 1
  305. #pragma code_page(1252)
  306. #endif
  307. #include "rescommtest.rc2"  // non-Microsoft Visual C++ edited resources
  308. #include "afxres.rc"         // Standard components
  309. #endif
  310. /////////////////////////////////////////////////////////////////////////////
  311. #endif    // not APSTUDIO_INVOKED