COLLECT.RC
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:21k
源码类别:

Windows编程

开发平台:

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. #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. "#include ""res\collect.rc2""  // non-App Studio edited resourcesrn"
  36. "rn"
  37. "#include ""afxres.rc""  t// Standard componentsrn"
  38. "#include ""afxprint.rc""t// printing/print preview resourcesrn"
  39. ""
  40. END
  41. #endif    // APSTUDIO_INVOKED
  42. /////////////////////////////////////////////////////////////////////////////
  43. //
  44. // Icon
  45. //
  46. // Icon with lowest ID value placed first to ensure application icon
  47. // remains consistent on all systems.
  48. IDR_MAINFRAME           ICON    DISCARDABLE     "RES\COLLECT.ICO"
  49. /////////////////////////////////////////////////////////////////////////////
  50. //
  51. // Bitmap
  52. //
  53. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "RES\TOOLBAR.BMP"
  54. /////////////////////////////////////////////////////////////////////////////
  55. //
  56. // Menu
  57. //
  58. #if defined(APSTUDIO_INVOKED) || !defined(_MAC)
  59. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  60. BEGIN
  61. POPUP "&File"
  62. BEGIN
  63. MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  64. MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  65. MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  66. MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  67. MENUITEM SEPARATOR
  68. MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  69. MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  70. MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  71. MENUITEM SEPARATOR
  72. MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  73. MENUITEM SEPARATOR
  74. MENUITEM "E&xit",                       ID_APP_EXIT
  75. END
  76. POPUP "&Edit"
  77. BEGIN
  78. MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  79. MENUITEM SEPARATOR
  80. MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  81. MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  82. MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  83. END
  84. POPUP "&Example"
  85. BEGIN
  86. MENUITEM "CStringList",                 ID_STRINGLIST
  87. MENUITEM "CTypedPtrList<CPtrList...>",  ID_TYPEDLIST
  88. MENUITEM "CList<int, int>",             ID_INTLIST
  89. MENUITEM SEPARATOR
  90. MENUITEM "CDWordArray",                 ID_DWORDARRAY
  91. MENUITEM "CTypedPtrArray<CObArray...>", ID_TYPEDPTRARRAY
  92. MENUITEM "CArray<CPoint, CPoint>",      ID_POINTARRAY
  93. MENUITEM SEPARATOR
  94. MENUITEM "CMapStringToString",          ID_MAPSTRINGTOSTRING
  95. MENUITEM "CTypedPtrMap<CMapStringToOb...>", ID_TYPEDPTRMAP
  96. MENUITEM "CMap<...>",                   ID_MAPDWORDTOMYSTRUCT
  97. END
  98. POPUP "&View"
  99. BEGIN
  100. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  101. MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  102. END
  103. POPUP "&Help"
  104. BEGIN
  105. MENUITEM "&About Collect...",           ID_APP_ABOUT
  106. END
  107. END
  108. #endif
  109. #if defined(APSTUDIO_INVOKED) || defined(_MAC)
  110. #if defined(APSTUDIO_INVOKED)
  111. IDR_MAINFRAME$(_MAC) MENU PRELOAD DISCARDABLE
  112. #else
  113. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  114. #endif
  115. BEGIN
  116. POPUP "&File"
  117. BEGIN
  118. MENUITEM "&Newt21N",                 ID_FILE_NEW
  119. MENUITEM "&Open...t21O",             ID_FILE_OPEN
  120. MENUITEM "&Savet21S",                ID_FILE_SAVE
  121. MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  122. MENUITEM SEPARATOR
  123. MENUITEM "&Print...t21P",            ID_FILE_PRINT
  124. MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  125. MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  126. MENUITEM SEPARATOR
  127. MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  128. MENUITEM SEPARATOR
  129. MENUITEM "&Quitt21Q",                ID_APP_EXIT
  130. END
  131. POPUP "&Edit"
  132. BEGIN
  133. MENUITEM "&Undot21Z",                ID_EDIT_UNDO
  134. MENUITEM SEPARATOR
  135. MENUITEM "Cu&tt21X",                 ID_EDIT_CUT
  136. MENUITEM "&Copyt21C",                ID_EDIT_COPY
  137. MENUITEM "&Pastet21V",               ID_EDIT_PASTE
  138. END
  139. POPUP "&Example"
  140. BEGIN
  141. MENUITEM "CStringList",                 ID_STRINGLIST
  142. MENUITEM "CTypedPtrList<CPrtList...>",  ID_TYPEDLIST
  143. MENUITEM "CList<int,int>",              ID_INTLIST
  144. MENUITEM SEPARATOR
  145. MENUITEM "CDWordArray",                 ID_DWORDARRAY
  146. MENUITEM "CTypedPtrArray<CObArray...>", ID_TYPEDPTRARRAY
  147. MENUITEM "CArray<CPoint,CPoint>",       ID_POINTARRAY
  148. MENUITEM SEPARATOR
  149. MENUITEM "CMapStringToString",          ID_MAPSTRINGTOSTRING
  150. MENUITEM "CTypedPtrMap<CMapStringToOb...>", ID_TYPEDPTRMAP
  151. MENUITEM "CMap<...>",                   ID_MAPDWORDTOMYSTRUCT
  152. END
  153. POPUP "&View"
  154. BEGIN
  155. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  156. MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  157. END
  158. END
  159. #endif
  160. /////////////////////////////////////////////////////////////////////////////
  161. //
  162. // Accelerator
  163. //
  164. #if defined(APSTUDIO_INVOKED) || !defined(_MAC)
  165. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  166. BEGIN
  167. "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  168. "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  169. "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  170. "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  171. "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  172. "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  173. "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  174. "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  175. VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  176. VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  177. VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  178. VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  179. VK_F6,          ID_NEXT_PANE,           VIRTKEY
  180. VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  181. END
  182. #endif
  183. #if defined(APSTUDIO_INVOKED) || defined(_MAC)
  184. #if defined(APSTUDIO_INVOKED)
  185. IDR_MAINFRAME$(_MAC) ACCELERATORS PRELOAD MOVEABLE PURE
  186. #else
  187. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  188. #endif
  189. BEGIN
  190. "C",            ID_EDIT_COPY,           VIRTKEY, ALT, NOINVERT
  191. "N",            ID_FILE_NEW,            VIRTKEY, ALT, NOINVERT
  192. "O",            ID_FILE_OPEN,           VIRTKEY, ALT, NOINVERT
  193. "P",            ID_FILE_PRINT,          VIRTKEY, ALT, NOINVERT
  194. "Q",            ID_APP_EXIT,            VIRTKEY, ALT, NOINVERT
  195. "S",            ID_FILE_SAVE,           VIRTKEY, ALT, NOINVERT
  196. "V",            ID_EDIT_PASTE,          VIRTKEY, ALT, NOINVERT
  197. VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT, NOINVERT
  198. VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT, NOINVERT
  199. VK_F6,          ID_NEXT_PANE,           VIRTKEY, NOINVERT
  200. VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT, NOINVERT
  201. VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  202. VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT, NOINVERT
  203. "X",            ID_EDIT_CUT,            VIRTKEY, ALT, NOINVERT
  204. "Z",            ID_EDIT_UNDO,           VIRTKEY, ALT, NOINVERT
  205. END
  206. #endif
  207. /////////////////////////////////////////////////////////////////////////////
  208. //
  209. // Dialog
  210. //
  211. IDD_ABOUTBOX DIALOG DISCARDABLE  34, 22, 217, 55
  212. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  213. CAPTION "About Collect"
  214. FONT 8, "MS Sans Serif"
  215. BEGIN
  216. ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  217. LTEXT           "Collect Version 2.0",IDC_STATIC,40,7,119,8
  218. LTEXT           "Copyright