home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / com / commap / ctlcomm / ctlcomm.rc < prev    next >
Encoding:
Text File  |  1998-04-03  |  5.5 KB  |  210 lines

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4.  
  5. #define APSTUDIO_READONLY_SYMBOLS
  6. /////////////////////////////////////////////////////////////////////////////
  7. //
  8. // Generated from the TEXTINCLUDE 2 resource.
  9. //
  10. #include "afxres.h"
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. #undef APSTUDIO_READONLY_SYMBOLS
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // English (U.S.) resources
  17.  
  18. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  19. #ifdef _WIN32
  20. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  21. #pragma code_page(1252)
  22. #endif //_WIN32
  23.  
  24. #ifdef APSTUDIO_INVOKED
  25. /////////////////////////////////////////////////////////////////////////////
  26. //
  27. // TEXTINCLUDE
  28. //
  29.  
  30. 1 TEXTINCLUDE DISCARDABLE 
  31. BEGIN
  32.     "resource.h\0"
  33. END
  34.  
  35. 2 TEXTINCLUDE DISCARDABLE 
  36. BEGIN
  37.     "#include ""afxres.h""\r\n"
  38.     "\0"
  39. END
  40.  
  41. 3 TEXTINCLUDE DISCARDABLE 
  42. BEGIN
  43.     "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
  44.     "#define _AFX_NO_OLE_RESOURCES\r\n"
  45.     "#define _AFX_NO_TRACKER_RESOURCES\r\n"
  46.     "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
  47.     "\r\n"
  48.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
  49.     "#ifdef _WIN32\r\n"
  50.     "LANGUAGE 9, 1\r\n"
  51.     "#pragma code_page(1252)\r\n"
  52.     "#endif\r\n"
  53.     "#include ""res\\ctlcomm.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
  54.     "#include ""afxres.rc""         // Standard components\r\n"
  55.     "#endif\0"
  56. END
  57.  
  58. #endif    // APSTUDIO_INVOKED
  59.  
  60.  
  61. /////////////////////////////////////////////////////////////////////////////
  62. //
  63. // Icon
  64. //
  65.  
  66. // Icon with lowest ID value placed first to ensure application icon
  67. // remains consistent on all systems.
  68. IDR_MAINFRAME           ICON    DISCARDABLE     "res\\ctlcomm.ico"
  69.  
  70. /////////////////////////////////////////////////////////////////////////////
  71. //
  72. // Dialog
  73. //
  74.  
  75. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  76. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  77. CAPTION "About ctlcomm"
  78. FONT 8, "MS Sans Serif"
  79. BEGIN
  80.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  81.     LTEXT           "ctlcomm Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX
  82.     LTEXT           "Copyright (C) 1996",IDC_STATIC,40,25,119,8
  83.     DEFPUSHBUTTON   "OK",IDOK,178,7,32,14,WS_GROUP
  84. END
  85.  
  86. IDD_CTLCOMM_DIALOG DIALOGEX 0, 0, 233, 250
  87. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  88. EXSTYLE WS_EX_APPWINDOW
  89. CAPTION "ctlcomm"
  90. FONT 8, "MS Sans Serif"
  91. BEGIN
  92.     DEFPUSHBUTTON   "COM Interface 1",IDC_COM1,17,18,196,14
  93.     DEFPUSHBUTTON   "COM Interface 2",IDC_COM2,17,43,196,14
  94.     DEFPUSHBUTTON   "COM Interface 3",IDC_COM3,17,68,196,14
  95.     DEFPUSHBUTTON   "COM Interface 4",IDC_COM4,17,93,196,14
  96.     DEFPUSHBUTTON   "COM Interface 5",IDC_COM5,17,118,196,14
  97.     DEFPUSHBUTTON   "COM Interface 6",IDC_COM6,17,143,196,14
  98.     DEFPUSHBUTTON   "COM Interface 7",IDC_COM7,17,168,196,14
  99.     PUSHBUTTON      "COM Interface  8",IDC_COM8,17,193,196,14
  100.     PUSHBUTTON      "Reset",IDC_RESET,163,218,50,14
  101. END
  102.  
  103.  
  104. #ifndef _MAC
  105. /////////////////////////////////////////////////////////////////////////////
  106. //
  107. // Version
  108. //
  109.  
  110. VS_VERSION_INFO VERSIONINFO
  111.  FILEVERSION 1,0,0,1
  112.  PRODUCTVERSION 1,0,0,1
  113.  FILEFLAGSMASK 0x3fL
  114. #ifdef _DEBUG
  115.  FILEFLAGS 0x1L
  116. #else
  117.  FILEFLAGS 0x0L
  118. #endif
  119.  FILEOS 0x4L
  120.  FILETYPE 0x1L
  121.  FILESUBTYPE 0x0L
  122. BEGIN
  123.     BLOCK "StringFileInfo"
  124.     BEGIN
  125.         BLOCK "040904B0"
  126.         BEGIN
  127.             VALUE "CompanyName", "\0"
  128.             VALUE "FileDescription", "ctlcomm MFC Application\0"
  129.             VALUE "FileVersion", "1, 0, 0, 1\0"
  130.             VALUE "InternalName", "ctlcomm\0"
  131.             VALUE "LegalCopyright", "Copyright (C) 1996\0"
  132.             VALUE "LegalTrademarks", "\0"
  133.             VALUE "OriginalFilename", "ctlcomm.EXE\0"
  134.             VALUE "ProductName", "ctlcomm Application\0"
  135.             VALUE "ProductVersion", "1, 0, 0, 1\0"
  136.         END
  137.     END
  138.     BLOCK "VarFileInfo"
  139.     BEGIN
  140.         VALUE "Translation", 0x409, 1200
  141.     END
  142. END
  143.  
  144. #endif    // !_MAC
  145.  
  146.  
  147. /////////////////////////////////////////////////////////////////////////////
  148. //
  149. // DESIGNINFO
  150. //
  151.  
  152. #ifdef APSTUDIO_INVOKED
  153. GUIDELINES DESIGNINFO DISCARDABLE 
  154. BEGIN
  155.     IDD_ABOUTBOX, DIALOG
  156.     BEGIN
  157.         LEFTMARGIN, 7
  158.         RIGHTMARGIN, 210
  159.         TOPMARGIN, 7
  160.         BOTTOMMARGIN, 48
  161.     END
  162.  
  163.     IDD_CTLCOMM_DIALOG, DIALOG
  164.     BEGIN
  165.         LEFTMARGIN, 7
  166.         RIGHTMARGIN, 226
  167.         TOPMARGIN, 7
  168.         BOTTOMMARGIN, 243
  169.     END
  170. END
  171. #endif    // APSTUDIO_INVOKED
  172.  
  173.  
  174. /////////////////////////////////////////////////////////////////////////////
  175. //
  176. // String Table
  177. //
  178.  
  179. STRINGTABLE DISCARDABLE 
  180. BEGIN
  181.     IDS_ABOUTBOX            "&About ctlcomm..."
  182. END
  183.  
  184. #endif    // English (U.S.) resources
  185. /////////////////////////////////////////////////////////////////////////////
  186.  
  187.  
  188.  
  189. #ifndef APSTUDIO_INVOKED
  190. /////////////////////////////////////////////////////////////////////////////
  191. //
  192. // Generated from the TEXTINCLUDE 3 resource.
  193. //
  194. #define _AFX_NO_SPLITTER_RESOURCES
  195. #define _AFX_NO_OLE_RESOURCES
  196. #define _AFX_NO_TRACKER_RESOURCES
  197. #define _AFX_NO_PROPERTY_RESOURCES
  198.  
  199. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  200. #ifdef _WIN32
  201. LANGUAGE 9, 1
  202. #pragma code_page(1252)
  203. #endif
  204. #include "res\ctlcomm.rc2"  // non-Microsoft Visual C++ edited resources
  205. #include "afxres.rc"         // Standard components
  206. #endif
  207. /////////////////////////////////////////////////////////////////////////////
  208. #endif    // not APSTUDIO_INVOKED
  209.  
  210.