Sample.rc
上传用户:szcanmei
上传日期:2007-01-02
资源大小:48k
文件大小:6k
源码类别:

菜单

开发平台:

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. // Icon
  22. //
  23. // Icon with lowest ID value placed first to ensure application icon
  24. // remains consistent on all systems.
  25. IDR_MAINFRAME           ICON    DISCARDABLE     "res\Sample.ico"
  26. IDR_SAMPLETYPE          ICON    DISCARDABLE     "res\SampleDoc.ico"
  27. /////////////////////////////////////////////////////////////////////////////
  28. //
  29. // Menu
  30. //
  31. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  32. BEGIN
  33.     POPUP "&File"
  34.     BEGIN
  35.         MENUITEM "E&xit",                       ID_APP_EXIT
  36.     END
  37. END
  38. #ifndef _MAC
  39. /////////////////////////////////////////////////////////////////////////////
  40. //
  41. // Version
  42. //
  43. VS_VERSION_INFO VERSIONINFO
  44.  FILEVERSION 1,0,0,1
  45.  PRODUCTVERSION 1,0,0,1
  46.  FILEFLAGSMASK 0x3fL
  47. #ifdef _DEBUG
  48.  FILEFLAGS 0x1L
  49. #else
  50.  FILEFLAGS 0x0L
  51. #endif
  52.  FILEOS 0x4L
  53.  FILETYPE 0x1L
  54.  FILESUBTYPE 0x0L
  55. BEGIN
  56.     BLOCK "StringFileInfo"
  57.     BEGIN
  58.         BLOCK "040904B0"
  59.         BEGIN
  60.             VALUE "CompanyName", ""
  61.             VALUE "FileDescription", "Sample MFC Application"
  62.             VALUE "FileVersion", "1, 0, 0, 1"
  63.             VALUE "InternalName", "Sample"
  64.             VALUE "LegalCopyright", "Copyright (C) 1999"
  65.             VALUE "LegalTrademarks", ""
  66.             VALUE "OriginalFilename", "Sample.EXE"
  67.             VALUE "ProductName", "Sample Application"
  68.             VALUE "ProductVersion", "1, 0, 0, 1"
  69.         END
  70.     END
  71.     BLOCK "VarFileInfo"
  72.     BEGIN
  73.         VALUE "Translation", 0x409, 1200
  74.     END
  75. END
  76. #endif    // !_MAC
  77. /////////////////////////////////////////////////////////////////////////////
  78. //
  79. // Bitmap
  80. //
  81. IDB_FILE                BITMAP  DISCARDABLE     "res\bitmap1.bmp"
  82. IDB_EDIT                BITMAP  DISCARDABLE     "res\file1.bmp"
  83. /////////////////////////////////////////////////////////////////////////////
  84. //
  85. // String Table
  86. //
  87. STRINGTABLE PRELOAD DISCARDABLE 
  88. BEGIN
  89.     IDR_MAINFRAME           "SamplennSamplennnSample.DocumentnSample Document"
  90. END
  91. STRINGTABLE PRELOAD DISCARDABLE 
  92. BEGIN
  93.     AFX_IDS_APP_TITLE       "Flat Popup Menu Sample"
  94.     AFX_IDS_IDLEMESSAGE     "Ready"
  95. END
  96. STRINGTABLE DISCARDABLE 
  97. BEGIN
  98.     ID_APP_EXIT             "Quit the application; prompts to save documentsnExit"
  99. END
  100. STRINGTABLE DISCARDABLE 
  101. BEGIN
  102.     ID_NEXT_PANE            "Switch to the next window panenNext Pane"
  103.     ID_PREV_PANE            "Switch back to the previous window panenPrevious Pane"
  104. END
  105. STRINGTABLE DISCARDABLE 
  106. BEGIN
  107.     AFX_IDS_SCSIZE          "Change the window size"
  108.     AFX_IDS_SCMOVE          "Change the window position"
  109.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  110.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  111.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  112.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  113.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  114. END
  115. STRINGTABLE DISCARDABLE 
  116. BEGIN
  117.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  118.     AFX_IDS_SCTASKLIST      "Activate Task List"
  119. END
  120. #endif    // English (U.S.) resources
  121. /////////////////////////////////////////////////////////////////////////////
  122. /////////////////////////////////////////////////////////////////////////////
  123. // English (U.K.) resources
  124. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
  125. #ifdef _WIN32
  126. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
  127. #pragma code_page(1252)
  128. #endif //_WIN32
  129. #ifdef APSTUDIO_INVOKED
  130. /////////////////////////////////////////////////////////////////////////////
  131. //
  132. // TEXTINCLUDE
  133. //
  134. 1 TEXTINCLUDE DISCARDABLE 
  135. BEGIN
  136.     "resource.h"
  137. END
  138. 2 TEXTINCLUDE DISCARDABLE 
  139. BEGIN
  140.     "#include ""afxres.h""rn"
  141.     ""
  142. END
  143. 3 TEXTINCLUDE DISCARDABLE 
  144. BEGIN
  145.     "#define _AFX_NO_SPLITTER_RESOURCESrn"
  146.     "#define _AFX_NO_OLE_RESOURCESrn"
  147.     "#define _AFX_NO_TRACKER_RESOURCESrn"
  148.     "#define _AFX_NO_PROPERTY_RESOURCESrn"
  149.     "rn"
  150.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)rn"
  151.     "#ifdef _WIN32rn"
  152.     "LANGUAGE 9, 1rn"
  153.     "#pragma code_page(1252)rn"
  154.     "#endif //_WIN32rn"
  155.     "#include ""res\Sample.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  156.     "#include ""afxres.rc""         // Standard componentsrn"
  157.     "#endifrn"
  158.     ""
  159. END
  160. #endif    // APSTUDIO_INVOKED
  161. /////////////////////////////////////////////////////////////////////////////
  162. //
  163. // Bitmap
  164. //
  165. IDB_CONTROL             BITMAP  DISCARDABLE     "res\bmp00001.bmp"
  166. #endif    // English (U.K.) resources
  167. /////////////////////////////////////////////////////////////////////////////
  168. #ifndef APSTUDIO_INVOKED
  169. /////////////////////////////////////////////////////////////////////////////
  170. //
  171. // Generated from the TEXTINCLUDE 3 resource.
  172. //
  173. #define _AFX_NO_SPLITTER_RESOURCES
  174. #define _AFX_NO_OLE_RESOURCES
  175. #define _AFX_NO_TRACKER_RESOURCES
  176. #define _AFX_NO_PROPERTY_RESOURCES
  177. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  178. #ifdef _WIN32
  179. LANGUAGE 9, 1
  180. #pragma code_page(1252)
  181. #endif //_WIN32
  182. #include "resSample.rc2"  // non-Microsoft Visual C++ edited resources
  183. #include "afxres.rc"         // Standard components
  184. #endif
  185. /////////////////////////////////////////////////////////////////////////////
  186. #endif    // not APSTUDIO_INVOKED