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

Windows编程

开发平台:

Visual C++

  1. /*
  2.  * SKEL.RC
  3.  * CLASSLIB Skeleton
  4.  *
  5.  * Basic resources for an application based on CLASSLIB.
  6.  *
  7.  * Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
  8.  *
  9.  * Kraig Brockschmidt, Microsoft
  10.  * Internet  :  kraigb@microsoft.com
  11.  * Compuserve:  >INTERNET:kraigb@microsoft.com
  12.  */
  13. #include <windows.h>
  14. #include <classres.h>
  15. //Use BTTNCUR's IDs for our own.
  16. IDB_STANDARDIMAGES72     BITMAP stdgz72.bmp
  17. IDB_STANDARDIMAGES96     BITMAP stdgz96.bmp
  18. IDB_STANDARDIMAGES120    BITMAP stdgz120.bmp
  19. Icon                ICON   app.ico
  20. #ifdef MDI
  21. IDR_DOCUMENTICON    ICON   document.ico
  22. #endif
  23. IDR_MENU    MENU MOVEABLE DISCARDABLE
  24.     BEGIN
  25.      POPUP "&File"
  26.       BEGIN
  27.        MENUITEM "&New",                 IDM_FILENEW
  28.        MENUITEM "&Open...",             IDM_FILEOPEN
  29.        MENUITEM "&Close",               IDM_FILECLOSE
  30.        MENUITEM "&Save",                IDM_FILESAVE
  31.        MENUITEM "Save &As...",          IDM_FILESAVEAS
  32.        MENUITEM SEPARATOR
  33.        MENUITEM "E&xit",                IDM_FILEEXIT
  34.       END
  35.      POPUP "&Edit"
  36.       BEGIN
  37.        MENUITEM "&UndotCtrl+Z",        IDM_EDITUNDO
  38.        MENUITEM SEPARATOR
  39.        MENUITEM "&CuttCtrl+X",         IDM_EDITCUT
  40.        MENUITEM "C&opytCtrl+C",        IDM_EDITCOPY
  41.        MENUITEM "&PastetCtrl+V",       IDM_EDITPASTE
  42.       END
  43.     #ifdef MDI
  44.      POPUP   "&Window"
  45.       BEGIN
  46.        MENUITEM "&Cascade",             IDM_WINDOWCASCADE
  47.        MENUITEM "Tile &Horizontally",   IDM_WINDOWTILEHORZ
  48.        MENUITEM "&Tile Vertically",     IDM_WINDOWTILEVERT
  49.        MENUITEM "Arrange &Icons",       IDM_WINDOWICONS
  50.       END
  51.     #endif
  52.      POPUP "&Help"
  53.       BEGIN
  54.        MENUITEM "&About...",            IDM_HELPABOUT
  55.       END
  56.     END
  57. //Stringtable for Frame windows
  58. STRINGTABLE
  59.     BEGIN
  60.      IDS_CAPTION,            "CLASSLIB Skeleton"
  61.      IDS_UNTITLED,           "(Untitled)"
  62.      IDS_FILEDIRTY,          "%s has been modified.nDo you wish to save it?"
  63.      IDS_DEFEXT,             "app"
  64.      IDS_DOTEXT,             ".app"
  65.      IDS_FILEOPENFILTER,     "Files (*.app)|*.app|"
  66.      IDS_FILESAVEFILTER,     "Files (*.app)|*.app|"
  67.      IDS_FILEOPEN,           "File Open"
  68.      IDS_FILESAVEAS,         "File Save As"
  69.     END
  70. //Stringtable for document windows.
  71. STRINGTABLE
  72.     BEGIN
  73.      IDS_CLIPBOARDFORMAT,    "Skeleton Vapors"
  74.      IDS_DOCUMENTCAPTION,    "Skeleton Document"
  75.      IDS_VERSIONMISMATCH,    "Loaded data is not a readable version."
  76.      IDS_FILELOADERROR,      "Could not read the requested document."
  77.      IDS_FILESAVEERROR,      "Could not write to the specified document."
  78.      IDS_FILEDOESNOTEXIST,   "Document does not exist on the file system."
  79.      IDS_FILEOPENERROR,      "Could not open the requested document."
  80.      IDS_UNKNOWNERROR,       "Action failed due to an unknown error."
  81.     END
  82. IDR_ACCELERATORS ACCELERATORS
  83.    BEGIN
  84.     VK_BACK,      IDM_EDITUNDO, ALT, VIRTKEY
  85.     VK_DELETE,    IDM_EDITCUT, SHIFT, VIRTKEY
  86.     VK_INSERT,    IDM_EDITCOPY, CONTROL, VIRTKEY
  87.     VK_INSERT,    IDM_EDITPASTE, SHIFT, VIRTKEY
  88.     "^Z",         IDM_EDITUNDO
  89.     "^X",         IDM_EDITCUT
  90.     "^C",         IDM_EDITCOPY
  91.     "^V",         IDM_EDITPASTE
  92.    END
  93. //Tables and such for StatStrip
  94. IDR_STATMESSAGEMAP RCDATA
  95.     BEGIN
  96.      ID_MESSAGEEMPTY,           IDS_EMPTYMESSAGE,
  97.      ID_MESSAGEREADY,           IDS_READYMESSAGE
  98.      ID_MENUSYS,                IDS_MENUMESSAGESYSTEM,
  99.      SC_SIZE,                   IDS_SYSMESSAGESIZE,
  100.      SC_MOVE,                   IDS_SYSMESSAGEMOVE,
  101.      SC_MINIMIZE,               IDS_SYSMESSAGEMINIMIZE,
  102.      SC_MAXIMIZE,               IDS_SYSMESSAGEMAXIMIZE,
  103.      SC_NEXTWINDOW,             IDS_SYSMESSAGENEXTWINDOW,
  104.      SC_PREVWINDOW,             IDS_SYSMESSAGEPREVWINDOW,
  105.      SC_CLOSE,                  IDS_SYSMESSAGECLOSE,
  106.      SC_RESTORE,                IDS_SYSMESSAGERESTORE,
  107.      SC_TASKLIST,               IDS_SYSMESSAGETASKLIST,
  108.      ID_MENUFILE,               IDS_MENUMESSAGEFILE,
  109.      IDM_FILENEW,               IDS_ITEMMESSAGEFILENEW,
  110.      IDM_FILEOPEN,              IDS_ITEMMESSAGEFILEOPEN,
  111.      IDM_FILECLOSE,             IDS_ITEMMESSAGEFILECLOSE,
  112.      IDM_FILESAVE,              IDS_ITEMMESSAGEFILESAVE,
  113.      IDM_FILESAVEAS,            IDS_ITEMMESSAGEFILESAVEAS,
  114.      IDM_FILEEXIT,              IDS_ITEMMESSAGEFILEEXIT,
  115.      ID_MENUEDIT,               IDS_MENUMESSAGEEDIT,
  116.      IDM_EDITUNDO,              IDS_ITEMMESSAGEEDITUNDO,
  117.      IDM_EDITCUT,               IDS_ITEMMESSAGEEDITCUT,
  118.      IDM_EDITCOPY,              IDS_ITEMMESSAGEEDITCOPY,
  119.      IDM_EDITPASTE,             IDS_ITEMMESSAGEEDITPASTE,
  120.      ID_MENUWINDOW,             IDS_MENUMESSAGEWINDOW,
  121.      IDM_WINDOWCASCADE,         IDS_ITEMMESSAGEWINDOWCASCADE,
  122.      IDM_WINDOWTILEHORZ,        IDS_ITEMMESSAGEWINDOWTILEHORZ,
  123.      IDM_WINDOWTILEVERT,        IDS_ITEMMESSAGEWINDOWTILEVERT,
  124.      IDM_WINDOWICONS,           IDS_ITEMMESSAGEWINDOWICONS,
  125.      ID_MENUHELP,               IDS_MENUMESSAGEHELP,
  126.      IDM_HELPABOUT,             IDS_ITEMMESSAGEHELPABOUT,
  127.     END
  128. STRINGTABLE
  129.     BEGIN
  130.      IDS_EMPTYMESSAGE,                  ""
  131.      IDS_READYMESSAGE,                  "Ready"
  132.      IDS_MENUMESSAGESYSTEM,             "Commands for working with this window"
  133.      IDS_SYSMESSAGESIZE,                "Change the size of this window"
  134.      IDS_SYSMESSAGEMOVE,                "Move the window to another position"
  135.      IDS_SYSMESSAGEMINIMIZE,            "Reduce this window to an icon"
  136.      IDS_SYSMESSAGEMAXIMIZE,            "Enlarge this window to its maximum size"
  137.      IDS_SYSMESSAGENEXTWINDOW,          "Switch to the next window"
  138.      IDS_SYSMESSAGEPREVWINDOW,          "Switch to the previous window"
  139.      IDS_SYSMESSAGECLOSE,               "Close this window"
  140.      IDS_SYSMESSAGERESTORE,             "Restore this window to its previous size"
  141.      IDS_SYSMESSAGETASKLIST,            "Open the Task List"
  142.      IDS_MENUMESSAGEFILE,               "Commands for working with files"
  143.      IDS_ITEMMESSAGEFILENEW,            "Create a new, blank document"
  144.      IDS_ITEMMESSAGEFILEOPEN,           "Open an existing document"
  145.      IDS_ITEMMESSAGEFILECLOSE,          "Close the currently active document"
  146.      IDS_ITEMMESSAGEFILESAVE,           "Save the currently active document"
  147.      IDS_ITEMMESSAGEFILESAVEAS,         "Save the currently active document under a new name"
  148.      IDS_ITEMMESSAGEFILEEXIT,           "Close the application"
  149.      IDS_MENUMESSAGEEDIT,               "Commands for manipulating data"
  150.      IDS_ITEMMESSAGEEDITUNDO,           "Reverse previous actions"
  151.      IDS_ITEMMESSAGEEDITCUT,            "Move data to the clipboard"
  152.      IDS_ITEMMESSAGEEDITCOPY,           "Copy data to the clipboard"
  153.      IDS_ITEMMESSAGEEDITPASTE,          "Paste data from the clipboard into the active document"
  154.      IDS_MENUMESSAGEWINDOW,             "Commands for working with document windows"
  155.      IDS_ITEMMESSAGEWINDOWCASCADE,      "Arrange documents in cascading style"
  156.      IDS_ITEMMESSAGEWINDOWTILEHORZ,     "Tile documents favoring width"
  157.      IDS_ITEMMESSAGEWINDOWTILEVERT,     "Tile documents favoring height"
  158.      IDS_ITEMMESSAGEWINDOWICONS,        "Arrange document icons"
  159.      IDS_MENUMESSAGEHELP,               "Commands for accessing Help"
  160.      IDS_ITEMMESSAGEHELPABOUT,          "View author information"
  161.     END
  162. rcinclude about.dlg