TreeMenuDemo.rc
上传用户:rxhxxy
上传日期:2007-01-02
资源大小:72k
文件大小:13k
源码类别:

TreeView控件

开发平台:

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.     "#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_ENU)rn"
  41.     "#ifdef _WIN32rn"
  42.     "LANGUAGE 9, 1rn"
  43.     "#pragma code_page(1252)rn"
  44.     "#endifrn"
  45.     "#include ""res\TreeMenuDemo.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  46.     "#include ""afxres.rc""         // Standard componentsrn"
  47.     "#endif"
  48. END
  49. #endif    // APSTUDIO_INVOKED
  50. /////////////////////////////////////////////////////////////////////////////
  51. //
  52. // Icon
  53. //
  54. // Icon with lowest ID value placed first to ensure application icon
  55. // remains consistent on all systems.
  56. IDR_MAINFRAME           ICON    DISCARDABLE     "res\TreeMenuDemo.ico"
  57. IDR_TREEMETYPE          ICON    DISCARDABLE     "res\TreeMenuDemoDoc.ico"
  58. /////////////////////////////////////////////////////////////////////////////
  59. //
  60. // Bitmap
  61. //
  62. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\Toolbar.bmp"
  63. IDB_TINYTOON            BITMAP  DISCARDABLE     "res\bmp00001.bmp"
  64. /////////////////////////////////////////////////////////////////////////////
  65. //
  66. // Toolbar
  67. //
  68. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  69. BEGIN
  70.     BUTTON      ID_FILE_NEW
  71.     BUTTON      ID_FILE_OPEN
  72.     BUTTON      ID_FILE_SAVE
  73.     SEPARATOR
  74.     BUTTON      ID_EDIT_CUT
  75.     BUTTON      ID_EDIT_COPY
  76.     BUTTON      ID_EDIT_PASTE
  77.     SEPARATOR
  78.     BUTTON      ID_FILE_PRINT
  79.     BUTTON      ID_APP_ABOUT
  80. END
  81. /////////////////////////////////////////////////////////////////////////////
  82. //
  83. // Menu
  84. //
  85. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  86. BEGIN
  87.     POPUP "&File"
  88.     BEGIN
  89.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  90.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  91.         MENUITEM SEPARATOR
  92.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  93.         MENUITEM SEPARATOR
  94.         MENUITEM "E&xit",                       ID_APP_EXIT
  95.     END
  96.     POPUP "&View"
  97.     BEGIN
  98.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  99.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  100.     END
  101.     POPUP "&Help"
  102.     BEGIN
  103.         MENUITEM "&About TreeMenuDemo...",      ID_APP_ABOUT
  104.     END
  105. END
  106. IDR_TREEMETYPE MENU PRELOAD DISCARDABLE 
  107. BEGIN
  108.     POPUP "&File"
  109.     BEGIN
  110.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  111.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  112.         MENUITEM "&Close",                      ID_FILE_CLOSE
  113.         MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  114.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  115.         MENUITEM SEPARATOR
  116.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  117.         MENUITEM SEPARATOR
  118.         MENUITEM "E&xit",                       ID_APP_EXIT
  119.     END
  120.     POPUP "&Edit"
  121.     BEGIN
  122.         MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  123.         MENUITEM SEPARATOR
  124.         MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  125.         MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  126.         MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  127.     END
  128.     POPUP "&View"
  129.     BEGIN
  130.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  131.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  132.         MENUITEM SEPARATOR
  133.         MENUITEM "&Explorer Bar",               IDM_PANE
  134.     END
  135.     POPUP "&Window"
  136.     BEGIN
  137.         MENUITEM "&New Window",                 ID_WINDOW_NEW
  138.         MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  139.         MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  140.         MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  141.     END
  142.     POPUP "&Help"
  143.     BEGIN
  144.         MENUITEM "&About TreeMenuDemo...",      ID_APP_ABOUT
  145.     END
  146. END
  147. /////////////////////////////////////////////////////////////////////////////
  148. //
  149. // Accelerator
  150. //
  151. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  152. BEGIN
  153.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  154.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  155.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  156.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  157.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  158.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  159.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  160.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  161.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  162.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  163.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  164.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  165.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  166. END
  167. /////////////////////////////////////////////////////////////////////////////
  168. //
  169. // Dialog
  170. //
  171. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 201, 269
  172. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  173. CAPTION "About TreeMenuDemo"
  174. FONT 8, "MS Sans Serif"
  175. BEGIN
  176.     ICON            IDR_MAINFRAME,IDC_STATIC,11,10,21,20
  177.     LTEXT           "TreeMenuDemo Version 1.0",IDC_STATIC,40,10,119,8,
  178.                     SS_NOPREFIX
  179.     LTEXT           "Copyright (C) 1998",IDC_STATIC,40,20,68,8
  180.     DEFPUSHBUTTON   "OK",IDOK,162,7,32,14,WS_GROUP
  181.     CONTROL         "",IDC_CUSTOM,"TreeMenuControl",WS_TABSTOP,7,58,113,203
  182.     PUSHBUTTON      "Show",IDC_BUTTON_SHOW,144,57,50,14
  183.     LTEXT           "             Funny Icons can be found at:nhttp://www.impactsoft.com/muangelo/download",
  184.                     IDC_STATIC,7,35,172,17
  185. END
  186. #ifndef _MAC
  187. /////////////////////////////////////////////////////////////////////////////
  188. //
  189. // Version
  190. //
  191. VS_VERSION_INFO VERSIONINFO
  192.  FILEVERSION 1,0,0,1
  193.  PRODUCTVERSION 1,0,0,1
  194.  FILEFLAGSMASK 0x3fL
  195. #ifdef _DEBUG
  196.  FILEFLAGS 0x1L
  197. #else
  198.  FILEFLAGS 0x0L
  199. #endif
  200.  FILEOS 0x4L
  201.  FILETYPE 0x1L
  202.  FILESUBTYPE 0x0L
  203. BEGIN
  204.     BLOCK "StringFileInfo"
  205.     BEGIN
  206.         BLOCK "040904B0"
  207.         BEGIN
  208.             VALUE "CompanyName", ""
  209.             VALUE "FileDescription", "TreeMenuDemo MFC Application"
  210.             VALUE "FileVersion", "1, 0, 0, 1"
  211.             VALUE "InternalName", "TreeMenuDemo"
  212.             VALUE "LegalCopyright", "Copyright (C) 1998"
  213.             VALUE "LegalTrademarks", ""
  214.             VALUE "OriginalFilename", "TreeMenuDemo.EXE"
  215.             VALUE "ProductName", "TreeMenuDemo Application"
  216.             VALUE "ProductVersion", "1, 0, 0, 1"
  217.         END
  218.     END
  219.     BLOCK "VarFileInfo"
  220.     BEGIN
  221.         VALUE "Translation", 0x409, 1200
  222.     END
  223. END
  224. #endif    // !_MAC
  225. /////////////////////////////////////////////////////////////////////////////
  226. //
  227. // DESIGNINFO
  228. //
  229. #ifdef APSTUDIO_INVOKED
  230. GUIDELINES DESIGNINFO DISCARDABLE 
  231. BEGIN
  232.     IDD_ABOUTBOX, DIALOG
  233.     BEGIN
  234.         LEFTMARGIN, 7
  235.         RIGHTMARGIN, 194
  236.         TOPMARGIN, 7
  237.         BOTTOMMARGIN, 262
  238.     END
  239. END
  240. #endif    // APSTUDIO_INVOKED
  241. /////////////////////////////////////////////////////////////////////////////
  242. //
  243. // String Table
  244. //
  245. STRINGTABLE PRELOAD DISCARDABLE 
  246. BEGIN
  247.     IDR_MAINFRAME           "TreeMenuDemo"
  248.     IDR_TREEMETYPE          "nTreeMenTreeMennnTreeMenuDemo.DocumentnTreeMe Document"
  249. END
  250. STRINGTABLE PRELOAD DISCARDABLE 
  251. BEGIN
  252.     AFX_IDS_APP_TITLE       "TreeMenuDemo"
  253.     AFX_IDS_IDLEMESSAGE     "Ready"
  254. END
  255. STRINGTABLE DISCARDABLE 
  256. BEGIN
  257.     ID_INDICATOR_EXT        "EXT"
  258.     ID_INDICATOR_CAPS       "CAP"
  259.     ID_INDICATOR_NUM        "NUM"
  260.     ID_INDICATOR_SCRL       "SCRL"
  261.     ID_INDICATOR_OVR        "OVR"
  262.     ID_INDICATOR_REC        "REC"
  263. END
  264. STRINGTABLE DISCARDABLE 
  265. BEGIN
  266.     ID_FILE_NEW             "Create a new documentnNew"
  267.     ID_FILE_OPEN            "Open an existing documentnOpen"
  268.     ID_FILE_CLOSE           "Close the active documentnClose"
  269.     ID_FILE_SAVE            "Save the active documentnSave"
  270.     ID_FILE_SAVE_AS         "Save the active document with a new namenSave As"
  271. END
  272. STRINGTABLE DISCARDABLE 
  273. BEGIN
  274.     ID_APP_ABOUT            "Display program information, version number and copyrightnAbout"
  275.     ID_APP_EXIT             "Quit the application; prompts to save documentsnExit"
  276. END
  277. STRINGTABLE DISCARDABLE 
  278. BEGIN
  279.     ID_FILE_MRU_FILE1       "Open this document"
  280.     ID_FILE_MRU_FILE2       "Open this document"
  281.     ID_FILE_MRU_FILE3       "Open this document"
  282.     ID_FILE_MRU_FILE4       "Open this document"
  283.     ID_FILE_MRU_FILE5       "Open this document"
  284.     ID_FILE_MRU_FILE6       "Open this document"
  285.     ID_FILE_MRU_FILE7       "Open this document"
  286.     ID_FILE_MRU_FILE8       "Open this document"
  287.     ID_FILE_MRU_FILE9       "Open this document"
  288.     ID_FILE_MRU_FILE10      "Open this document"
  289.     ID_FILE_MRU_FILE11      "Open this document"
  290.     ID_FILE_MRU_FILE12      "Open this document"
  291.     ID_FILE_MRU_FILE13      "Open this document"
  292.     ID_FILE_MRU_FILE14      "Open this document"
  293.     ID_FILE_MRU_FILE15      "Open this document"
  294.     ID_FILE_MRU_FILE16      "Open this document"
  295. END
  296. STRINGTABLE DISCARDABLE 
  297. BEGIN
  298.     ID_NEXT_PANE            "Switch to the next window panenNext Pane"
  299.     ID_PREV_PANE            "Switch back to the previous window panenPrevious Pane"
  300. END
  301. STRINGTABLE DISCARDABLE 
  302. BEGIN
  303.     ID_WINDOW_NEW           "Open another window for the active documentnNew Window"
  304.     ID_WINDOW_ARRANGE       "Arrange icons at the bottom of the windownArrange Icons"
  305.     ID_WINDOW_CASCADE       "Arrange windows so they overlapnCascade Windows"
  306.     ID_WINDOW_TILE_HORZ     "Arrange windows as non-overlapping tilesnTile Windows"
  307.     ID_WINDOW_TILE_VERT     "Arrange windows as non-overlapping tilesnTile Windows"
  308.     ID_WINDOW_SPLIT         "Split the active window into panesnSplit"
  309. END
  310. STRINGTABLE DISCARDABLE 
  311. BEGIN
  312.     ID_EDIT_CLEAR           "Erase the selectionnErase"
  313.     ID_EDIT_CLEAR_ALL       "Erase everythingnErase All"
  314.     ID_EDIT_COPY            "Copy the selection and put it on the ClipboardnCopy"
  315.     ID_EDIT_CUT             "Cut the selection and put it on the ClipboardnCut"
  316.     ID_EDIT_FIND            "Find the specified textnFind"
  317.     ID_EDIT_PASTE           "Insert Clipboard contentsnPaste"
  318.     ID_EDIT_REPEAT          "Repeat the last actionnRepeat"
  319.     ID_EDIT_REPLACE         "Replace specific text with different textnReplace"
  320.     ID_EDIT_SELECT_ALL      "Select the entire documentnSelect All"
  321.     ID_EDIT_UNDO            "Undo the last actionnUndo"
  322.     ID_EDIT_REDO            "Redo the previously undone actionnRedo"
  323. END
  324. STRINGTABLE DISCARDABLE 
  325. BEGIN
  326.     ID_VIEW_TOOLBAR         "Show or hide the toolbarnToggle ToolBar"
  327.     ID_VIEW_STATUS_BAR      "Show or hide the status barnToggle StatusBar"
  328. END
  329. STRINGTABLE DISCARDABLE 
  330. BEGIN
  331.     AFX_IDS_SCSIZE          "Change the window size"
  332.     AFX_IDS_SCMOVE          "Change the window position"
  333.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  334.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  335.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  336.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  337.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  338. END
  339. STRINGTABLE DISCARDABLE 
  340. BEGIN
  341.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  342.     AFX_IDS_SCTASKLIST      "Activate Task List"
  343.     AFX_IDS_MDICHILD        "Activate this window"
  344. END
  345. #endif    // English (U.S.) resources
  346. /////////////////////////////////////////////////////////////////////////////
  347. #ifndef APSTUDIO_INVOKED
  348. /////////////////////////////////////////////////////////////////////////////
  349. //
  350. // Generated from the TEXTINCLUDE 3 resource.
  351. //
  352. #define _AFX_NO_SPLITTER_RESOURCES
  353. #define _AFX_NO_OLE_RESOURCES
  354. #define _AFX_NO_TRACKER_RESOURCES
  355. #define _AFX_NO_PROPERTY_RESOURCES
  356. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  357. #ifdef _WIN32
  358. LANGUAGE 9, 1
  359. #pragma code_page(1252)
  360. #endif
  361. #include "resTreeMenuDemo.rc2"  // non-Microsoft Visual C++ edited resources
  362. #include "afxres.rc"         // Standard components
  363. #endif
  364. /////////////////////////////////////////////////////////////////////////////
  365. #endif    // not APSTUDIO_INVOKED