Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

129 lines
4.4 KiB

  1. /* Clipboard resources */
  2. /* Copyright 1985-92, Microsoft Corporation */
  3. #define NOKERNEL
  4. #define NORASTEROPS
  5. #define NOCOLOR
  6. #define NOSHOWWINDOW
  7. #define NOWINOFFSETS
  8. #define NONCMESSAGES
  9. #define NOKEYSTATES
  10. #define NOWINSTYLES
  11. #define NOLSTRING
  12. #define NOLFILEIO
  13. #define NODEFERWINDOWPOS
  14. #define NOCTLMGR
  15. #define NOSCROLL
  16. #define NOATOM
  17. #define NOGDI
  18. #define NOGDICAPMASKS
  19. #define NOMETAFILE
  20. #define NOMINMAX
  21. #define NOOPENFILE
  22. #define NORASTEROPS
  23. #define NOSCROLL
  24. #define NOSOUND
  25. #define NOSYSMETRICS
  26. #define NOTEXTMETRIC
  27. #define NOWH
  28. #define NODBCS
  29. #define NOSYSPARAMSINFO
  30. #include "windows.h"
  31. #include "clipbrd.h"
  32. CBICON ICON clipbrd.ico
  33. STRINGTABLE DISCARDABLE
  34. BEGIN
  35. IDS_INVALIDFILENAME, "Filename is not valid.\nVerify that the filename is no longer than 8 characters, followed by a period and a CLP extension."
  36. IDS_NAME, "Clipboard Viewer"
  37. IDS_ERROR, "<Cannot display. Data in Clipboard is not valid.>"
  38. IDS_BINARY, "<Cannot display. Data in Clipboard is in binary format.>"
  39. IDS_CLEAR, "Cannot delete contents of Clipboard."
  40. IDS_FMTNOTSAV, "Not enough memory or disk space.\n\nFormats not saved."
  41. IDS_DEFAULT, "DEFAULT.CLP"
  42. IDS_CANTDISPLAY, "<Cannot display. Data in Clipboard is in an unknown format.>"
  43. IDS_NOTRENDERED, "<Not enough memory to display data.\n\nQuit one or more applications to increase available memory, and then try again.>"
  44. IDS_HELPFILE, "CLIPBRD.HLP"
  45. IDS_CLEARTITLE, "Clear Clipboard"
  46. IDS_CONFIRMCLEAR, "Clear Contents of the Clipboard?"
  47. IDS_ALREADYOPEN, "<Cannot open Clipboard.>"
  48. IDS_MEMERROR, "Not enough memory to display data.\n\nClose one or more applications to increase available memory, and then try again."
  49. IDS_READFORMATERR, "The selected file is not in the correct format for use with Clipboard Viewer.\n\nCreate a new file or open a file with the .CLP extension."
  50. IDS_READOPENCLIPERR, "Cannot open this file. It is currently being used by another application.\n\nQuit the application that is using it or select a different filename."
  51. IDS_OPENCAPTION, "Open"
  52. IDS_SAVECAPTION, "Save As"
  53. IDS_DEFEXTENSION, "CLP"
  54. CF_TEXT, "&Text"
  55. CF_BITMAP, "&Bitmap"
  56. CF_METAFILEPICT, "&Picture"
  57. CF_SYLK, "&Sylk"
  58. CF_DIF, "&DIF"
  59. CF_TIFF, "T&IFF"
  60. CF_OEMTEXT, "&OEM Text"
  61. CF_DIB, "&DIB Bitmap"
  62. CF_PALETTE, "Pal&ette"
  63. CF_PENDATA, "Pe&n Data"
  64. CF_RIFF, "&RIFF"
  65. CF_WAVE, "&Wave Audio"
  66. CF_OWNERDISPLAY, "O&wner display"
  67. CF_DSPTEXT, "Disp&lay Text"
  68. CF_DSPBITMAP, "Displa&y Bitmap"
  69. CF_DSPMETAFILEPICT, "Display Pict&ure"
  70. CF_UNICODETEXT, "&Unicode Text"
  71. CF_ENHMETAFILE, "En&hanced Metafile"
  72. CF_DSPENHMETAFILE, "Display Enhanced &Metafile"
  73. /*
  74. * Filter strings for use in File Open & File Save dialogs.
  75. * Note: 'NT Clipboard Files' should be the first filter listed.
  76. */
  77. IDS_FILTERTEXT "NT Clipboard File\0*.CLP\0Win 3.1 Clipbrd\0*.CLP\0All Files\0*.*\0\0"
  78. END
  79. CBMENU MENU
  80. BEGIN
  81. POPUP "&File"
  82. BEGIN
  83. MENUITEM "&Open..." CBM_OPEN
  84. MENUITEM "Save &As..." CBM_SAVEAS
  85. MENUITEM SEPARATOR
  86. MENUITEM "E&xit" CBM_EXIT
  87. END
  88. POPUP "&Edit"
  89. BEGIN
  90. MENUITEM "&Delete\tDel", CBM_CLEAR
  91. END
  92. POPUP "&Display"
  93. BEGIN
  94. MENUITEM "&Auto", CBM_AUTO
  95. MENUITEM SEPARATOR
  96. END
  97. POPUP "&Help"
  98. BEGIN
  99. MENUITEM "&Contents", CBM_HELP
  100. MENUITEM "&Search for Help On...", CBM_SEARCH
  101. MENUITEM "&How to Use Help", CBM_USEHELP
  102. MENUITEM SEPARATOR
  103. MENUITEM "&About Clipboard Viewer...", CBM_ABOUT
  104. END
  105. END
  106. CBACCEL ACCELERATORS
  107. BEGIN
  108. VK_DELETE, CBM_CLEAR, VIRTKEY
  109. VK_F1, CBM_HELP, VIRTKEY
  110. END
  111. #include <ntverp.h>
  112. #define VER_FILETYPE VFT_APP
  113. #define VER_FILESUBTYPE VFT2_UNKNOWN
  114. #define VER_FILEDESCRIPTION_STR "Clipboard Applet"
  115. #define VER_INTERNALNAME_STR "clipbrd\0"
  116. #include "common.ver"