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

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows
  3. // (C) Copyright 1992, 1994 by Borland International, All Rights Reserved
  4. //
  5. //   Resources to use with TEditSearch.
  6. //----------------------------------------------------------------------------
  7.  
  8. #include <owl/editsear.rh>
  9.  
  10. #if defined(RC_INVOKED)
  11.  
  12. #if !defined(NO_IDM_EDITSEARCH) && !defined(__IDM_EDITSEARCH)
  13. #define __IDM_EDITSEARCH
  14. IDM_EDITSEARCH MENU LOADONCALL MOVEABLE PURE DISCARDABLE
  15. {
  16.   Popup "&Edit"
  17.   {
  18.     MenuItem  "&Undo\aCtrl+Z",        CM_EDITUNDO
  19.     MenuItem  SEPARATOR
  20.     MenuItem  "&Cut\aCtrl+X",         CM_EDITCUT
  21.     MenuItem  "C&opy\aCtrl+C",        CM_EDITCOPY
  22.     MenuItem  "&Paste\aCtrl+V",       CM_EDITPASTE
  23.     MenuItem  "&Delete\aDel",         CM_EDITDELETE
  24.     MenuItem  "C&lear All\aCtrl+Del", CM_EDITCLEAR
  25.   }
  26.   POPUP "&Search"
  27.   {
  28.     MenuItem  "&Find...",    CM_EDITFIND
  29.     MenuItem  "&Replace...", CM_EDITREPLACE
  30.     MenuItem  "&Next\aF3",   CM_EDITFINDNEXT
  31.   }
  32. }
  33. #endif
  34. #undef NO_IDM_EDITSEARCH
  35.  
  36. #if !defined(NO_IDA_EDITSEARCH) && !defined(__IDA_EDITSEARCH)
  37. #define __IDA_EDITSEARCH
  38. IDA_EDITSEARCH ACCELERATORS
  39. {
  40.   VK_DELETE, CM_EDITCUT,      VIRTKEY, SHIFT
  41.   VK_INSERT, CM_EDITCOPY,     VIRTKEY, CONTROL
  42.   VK_INSERT, CM_EDITPASTE,    VIRTKEY, SHIFT
  43.   VK_DELETE, CM_EDITCLEAR,    VIRTKEY, CONTROL
  44.   VK_BACK,   CM_EDITUNDO,     VIRTKEY, ALT
  45.   VK_F3,     CM_EDITFINDNEXT, VIRTKEY
  46. }
  47. #endif
  48. #undef NO_IDA_EDITSEARCH
  49.  
  50. #if !defined(NO_IDS_EDITSEARCH) && !defined(__IDS_EDITSEARCH)
  51. #define __IDS_EDITSEARCH
  52. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  53. {
  54.   CM_EDITUNDO-1,  "Editing commands, undo and Clipboard access"
  55.   CM_EDITUNDO,    "Undo the last action"
  56.   CM_EDITCUT,     "Cut the selection and put it on the Clipboard"
  57.   CM_EDITCOPY,    "Copy the selection to the Clipboard"
  58.   CM_EDITPASTE,   "Insert the Clipboard contents at the caret"
  59.   CM_EDITDELETE,  "Delete the selection"
  60.   CM_EDITCLEAR,   "Clear the document"
  61.   CM_EDITADD,     "Insert a new line"
  62.   CM_EDITEDIT,    "Edit the current line"
  63.   CM_EDITFIND,    "Find the specified text"
  64.   CM_EDITREPLACE, "Find the specified text and change it"
  65.   CM_EDITFINDNEXT,"Find the next match"
  66.  
  67.   IDS_CANNOTFIND, "Cannot find ""%s""."
  68. }
  69. #endif
  70. #undef NO_IDS_EDITSEARCH
  71.  
  72. #endif  // defined(RC_INVOKED)
  73.