home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winui / cliptext / cliptext.rc < prev    next >
Text File  |  1997-10-05  |  2KB  |  61 lines

  1.  
  2. //-----------------------------------------------------------------------------
  3. // This is a part of the Microsoft Source Code Samples. 
  4. // Copyright (C) 1993 - 1997 Microsoft Corp.
  5. // All rights reserved. 
  6. //  
  7. // This source code is only intended as a supplement to 
  8. // Microsoft Development Tools and/or WinHelp documentation.
  9. // See these sources for detailed information regarding the 
  10. // Microsoft samples programs.
  11. //-----------------------------------------------------------------------------
  12.  
  13. #include "windows.h"
  14. #include "cliptext.h"
  15.  
  16. CliptextMenu MENU
  17. BEGIN
  18.     POPUP        "&File"
  19.     BEGIN
  20.         MENUITEM    "&New",              IDM_NEW      ,GRAYED
  21.         MENUITEM    "&Open...",          IDM_OPEN     ,GRAYED
  22.         MENUITEM    "&Save",             IDM_SAVE     ,GRAYED
  23.         MENUITEM    "Save &As...",       IDM_SAVEAS   ,GRAYED
  24.         MENUITEM    "&Print",            IDM_PRINT    ,GRAYED
  25.         MENUITEM    SEPARATOR
  26.         MENUITEM    "E&xit",             IDM_EXIT
  27.         MENUITEM    SEPARATOR
  28.         MENUITEM    "&About Cliptext...",IDM_ABOUT
  29.     END
  30.  
  31.     POPUP        "&Edit"
  32.     BEGIN
  33.         MENUITEM    "&Undo\tAlt+BkSp",     IDM_UNDO   ,GRAYED
  34.         MENUITEM    SEPARATOR
  35.         MENUITEM    "Cu&t\tShift+Del",     IDM_CUT
  36.         MENUITEM    "&Copy\tCtrl+Ins",     IDM_COPY
  37.         MENUITEM    "&Paste\tShift+Ins",   IDM_PASTE  ,GRAYED
  38.         MENUITEM    "&Delete\tDel",        IDM_CLEAR  ,GRAYED
  39.     END
  40. END
  41.  
  42. ClipTextAcc ACCELERATORS
  43. BEGIN
  44.     VK_BACK,   IDM_UNDO,  VIRTKEY, ALT
  45.     VK_DELETE, IDM_CUT,   VIRTKEY, SHIFT
  46.     VK_INSERT, IDM_COPY,  VIRTKEY, CONTROL
  47.     VK_INSERT, IDM_PASTE, VIRTKEY, SHIFT
  48.     VK_DELETE, IDM_CLEAR, VIRTKEY, SHIFT
  49. END
  50.  
  51.  
  52. AboutBox DIALOG 22, 17, 144, 75
  53. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  54. CAPTION "About ClipText"
  55. BEGIN
  56.     CTEXT "Microsoft Windows"     -1,       0,  5, 144,  8
  57.     CTEXT "Cliptext Application"  -1,       0, 14, 144,  8
  58.     CTEXT "Version 3.0"           -1,       0, 34, 144,  8
  59.     DEFPUSHBUTTON "OK"          IDOK,      53, 59,  32, 14,      WS_GROUP
  60. END
  61.