home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / OWLINC.PAK / EDITVIEW.RC < prev    next >
Text File  |  1995-08-29  |  1KB  |  55 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows
  3. // (C) Copyright 1993, 1994 by Borland International, All Rights Reserved
  4. //
  5. //   Menu and accelerators for use with TEditView
  6. //----------------------------------------------------------------------------
  7.  
  8. #include <owl/editsear.rh>
  9. #include <owl/editview.rh>
  10.  
  11. #if defined(RC_INVOKED)
  12.  
  13. #define NO_IDM_EDITSEARCH
  14. #define NO_IDA_EDITSEARCH
  15. #include <owl/editsear.rc>
  16.  
  17. #if !defined(NO_IDM_EDITVIEW) && !defined(__IDM_EDITVIEW)
  18. #define __IDM_EDITVIEW
  19. IDM_EDITVIEW MENU LOADONCALL MOVEABLE PURE DISCARDABLE
  20. {
  21.   POPUP "&Edit"
  22.   {
  23.     MenuItem  "&Undo\aCtrl+Z",        CM_EDITUNDO
  24.     MenuItem  SEPARATOR
  25.     MenuItem  "&Cut\aCtrl+X",         CM_EDITCUT
  26.     MenuItem  "C&opy\aCtrl+C",        CM_EDITCOPY
  27.     MenuItem  "&Paste\aCtrl+V",       CM_EDITPASTE
  28.     MenuItem  "&Delete\aDel",         CM_EDITDELETE
  29.     MenuItem  "C&lear All\aCtrl+Del", CM_EDITCLEAR
  30.   }
  31.   POPUP "&Search"
  32.   {
  33.     MenuItem  "&Find...",    CM_EDITFIND
  34.     MenuItem  "&Replace...", CM_EDITREPLACE
  35.     MenuItem  "&Next\aF3",   CM_EDITFINDNEXT
  36.   }
  37.   POPUP "&Help"
  38.   {
  39.     MenuItem  "OWL EditView", 0, INACTIVE
  40.   }
  41. }
  42. #endif
  43. #undef NO_IDM_EDITVIEW
  44.  
  45. #if !defined(NO_IDA_EDITVIEW) && !defined(__IDA_EDITVIEW)
  46. #define __IDA_EDITVIEW
  47. IDA_EDITVIEW ACCELERATORS
  48. {
  49.   VK_F3,     CM_EDITFINDNEXT, VIRTKEY
  50. }
  51. #endif
  52. #undef NO_IDA_EDITVIEW
  53.  
  54. #endif  // defined(RC_INVOKED)
  55.