Leaked source code of windows server 2003
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.

199 lines
7.8 KiB

  1. #include "windows.h"
  2. #include "clipbook.h"
  3. #include "dialogs.h"
  4. #include "clipdsp.h"
  5. #include "clipbook.rcv"
  6. IDBITMAP BITMAP buttons.bmp
  7. IDSTATUS BITMAP status.bmp
  8. IBM_UPARROW BITMAP arrup.bmp
  9. IBM_DNARROW BITMAP arrdn.bmp
  10. IBM_UPARROWD BITMAP arrupd.bmp
  11. IBM_DNARROWD BITMAP arrdnd.bmp
  12. IDFRAMEICON ICON clipbk.ico
  13. IDCLPICON ICON clipbrd.ico
  14. IDLOCALICON ICON scrpbk.ico
  15. IDREMOTEICON ICON scrpbk2.ico
  16. IDLOCKICON ICON locked.ico
  17. IDSHAREICON ICON shared.ico
  18. IDACCELERATORS ACCELERATORS PRELOAD
  19. BEGIN
  20. VK_F5, IDM_REFRESH, NOINVERT, VIRTKEY
  21. VK_F1, IDM_CONTENTS, VIRTKEY
  22. VK_F5, IDM_CASCADE, SHIFT, VIRTKEY
  23. VK_F4, IDM_TILEVERT, SHIFT, VIRTKEY
  24. "^V", IDM_KEEP, NOINVERT
  25. VK_INSERT, IDM_KEEP, VIRTKEY, NOINVERT, SHIFT
  26. "^C", IDM_COPY, NOINVERT
  27. VK_INSERT, IDM_COPY, VIRTKEY, NOINVERT, CONTROL
  28. VK_DELETE, IDM_DELETE, NOINVERT, VIRTKEY
  29. VK_RETURN, IDM_PAGEVIEW, NOINVERT, VIRTKEY
  30. VK_PRIOR, ID_PAGEUP, NOINVERT, VIRTKEY, CONTROL
  31. VK_NEXT, ID_PAGEDOWN, NOINVERT, VIRTKEY, CONTROL
  32. END
  33. IDCVMENU MENU
  34. BEGIN
  35. POPUP "&File"
  36. BEGIN
  37. MENUITEM "&Open...", IDM_OPEN
  38. MENUITEM "Save &As...", IDM_SAVEAS
  39. MENUITEM SEPARATOR
  40. MENUITEM "&Share...", IDM_SHARE
  41. MENUITEM "S&top Sharing", IDM_UNSHARE
  42. #if 0
  43. MENUITEM "&Properties...", IDM_PROPERTIES
  44. #endif
  45. MENUITEM SEPARATOR
  46. MENUITEM "&Connect...", IDM_CONNECT
  47. MENUITEM "&Disconnect", IDM_DISCONNECT
  48. MENUITEM SEPARATOR
  49. MENUITEM "E&xit", IDM_EXIT
  50. END
  51. POPUP "&Edit"
  52. BEGIN
  53. #if 0
  54. MENUITEM "&Undo\tCtrl+Z", IDM_UNDO
  55. MENUITEM SEPARATOR
  56. #endif
  57. MENUITEM "&Copy\tCtrl+C", IDM_COPY
  58. MENUITEM "&Paste...\tCtrl+V", IDM_KEEP
  59. MENUITEM "&Delete\tDel", IDM_DELETE
  60. END
  61. POPUP "&View"
  62. BEGIN
  63. MENUITEM "&Toolbar", IDM_TOOLBAR
  64. MENUITEM "&Status Bar", IDM_STATUSBAR
  65. MENUITEM SEPARATOR
  66. MENUITEM "Table of &Contents", IDM_LISTVIEW
  67. MENUITEM "Thumb&nails", IDM_PREVIEWS
  68. MENUITEM "&Full Page", IDM_PAGEVIEW
  69. END
  70. POPUP "&Window"
  71. BEGIN
  72. MENUITEM "&Cascade\tShift+F5", IDM_CASCADE
  73. MENUITEM "Tile &Horizontally", IDM_TILEHORZ
  74. MENUITEM "&Tile Vertically\tShift+F4", IDM_TILEVERT
  75. MENUITEM "&Arrange &Icons", IDM_ARRANGEICONS
  76. MENUITEM "&Refresh\tF5", IDM_REFRESH
  77. END
  78. POPUP "&Help"
  79. BEGIN
  80. MENUITEM "&Contents", IDM_CONTENTS
  81. MENUITEM "&Search for Help on...", IDM_SEARCHHELP
  82. MENUITEM "&How to Use Help", IDM_HELPHELP
  83. MENUITEM SEPARATOR
  84. MENUITEM "&About ClipBook Viewer...", IDM_ABOUT
  85. END
  86. END
  87. STRINGTABLE PRELOAD
  88. BEGIN
  89. IDS_HELV, "MS Shell Dlg" // max 32
  90. IDS_APPNAME, "ClipBook Viewer" // max 32
  91. // used by clipdsp.c
  92. IDS_ERROR, "The ClipBook Viewer cannot display the information you have copied. To view the information, try pasting it into a document."
  93. IDS_BINARY, "The information is in a binary format. ClipBook Viewer cannot display this format. To view the information, try pasting it into a document."
  94. IDS_CLEAR, "The contents of Clipboard cannot be deleted."
  95. IDS_CANTDISPLAY,"ClipBook Viewer cannot display the information in its current format. To view the information, try pasting it into a document."
  96. IDS_NOTRENDERED,"ClipBook Viewer cannot display the information in its current format or there is not enough memory to display it. Quit one or more applications to increase the available memory, and then try again."
  97. IDS_ALREADYOPEN, "Cannot open Clipboard because another application is using it. Try closing any open applications."
  98. IDS_CLEARTITLE, "Clear Clipboard"
  99. IDS_CONFIRMCLEAR, "Do you want to clear the contents of the Clipboard?"
  100. IDS_BADBMPFMT, "The display driver on this computer cannot display this information in bitmap format."
  101. IDS_INTERNALERR, "An error has occurred. ClipBook Viewer cannot complete this procedure."
  102. IDS_LOCALCLIP, "Local ClipBook"
  103. IDS_CLIPBOARD, "Clipboard"
  104. IDS_DATAUNAVAIL, "There is a problem with the connection to the other computer. Try reconnecting to the computer that contains the ClipBook page."
  105. IDS_READINGITEM, "Opening the Clipboard file."
  106. IDS_VIEWHELPFMT, "Displays information in %s format."
  107. IDS_ACTIVATEFMT, "Makes %s window active."
  108. IDS_DEFFORMAT, "&Default Format"
  109. IDS_GETTINGDATA, "Preparing to display the contents of the Clipboard."
  110. IDS_NAMEEXISTS, "The name is already being used. Use another name."
  111. IDS_ESTABLISHING, "Establishing connection"
  112. IDS_NOCONNECTION, "A connection could not be established to the specified computer."
  113. IDS_CLIPBOOKONFMT, "ClipBook on %s"
  114. IDS_PAGEFMT, "1 Page"
  115. IDS_PAGEFMTPL, "%d Pages"
  116. IDS_PAGEOFPAGEFMT, "Page %d of %d"
  117. IDS_DELETE, "Delete"
  118. IDS_DELETECONFIRMFMT, "Delete '%s'?"
  119. IDS_FILEFILTER, "Clipboard Files(*.CLP)"
  120. IDS_PASTEDLGTITLE "Paste"
  121. IDS_SHAREDLGTITLE "Share"
  122. IDS_PASSWORDSYNTAX "You cannot use a comma (,) in a password. Use another password."
  123. IDS_PAGENAMESYNTAX "You cannot use an equal sign (=) or a comma (,) in a page name. Use another name."
  124. IDS_SHARINGERROR "This page could not be shared."
  125. IDS_MAXPAGESERROR "The ClipBook is full. Before you can save this information, you must delete some existing pages."
  126. // DO NOT LOCALIZE the below formats!
  127. CF_TEXT, "&Text"
  128. CF_BITMAP, "&Bitmap"
  129. CF_METAFILEPICT,"&Picture"
  130. CF_SYLK, "&Sylk"
  131. CF_DIF, "&DIF"
  132. CF_TIFF, "T&IFF"
  133. CF_OEMTEXT, "&OEM Text"
  134. CF_DIB, "&DIB Bitmap"
  135. CF_PALETTE, "Pal&ette"
  136. CF_PENDATA, "Pe&n Data"
  137. CF_RIFF, "&RIFF"
  138. CF_WAVE, "&Wave Audio"
  139. CF_OWNERDISPLAY,"O&wner display"
  140. CF_DSPTEXT, "Disp&lay Text"
  141. CF_DSPBITMAP, "Displa&y Bitmap"
  142. CF_DSPMETAFILEPICT, "Display Pict&ure"
  143. // MenuHelp Strings, localize
  144. MH_BASE+IDM_OPEN, "Opens a Clipboard file and displays its contents."
  145. MH_BASE+IDM_SAVEAS, "Saves the Clipboard contents in a new file."
  146. MH_BASE+IDM_SHARE, "Makes the information in the page available to others."
  147. MH_BASE+IDM_UNSHARE, "Makes the information no longer available to others."
  148. #if 0
  149. MH_BASE+IDM_PROPERTIES, "View properties of ClipBook page"
  150. #endif
  151. MH_BASE+IDM_CONNECT, "Opens the ClipBook on another computer."
  152. MH_BASE+IDM_DISCONNECT, "Closes the ClipBook from another computer."
  153. MH_BASE+IDM_EXIT, "Quits ClipBook Viewer."
  154. #if 0
  155. MH_BASE+IDM_UNDO, "Undo last operation"
  156. #endif
  157. MH_BASE+IDM_COPY, "Copies the contents of the ClipBook page onto the Clipboard."
  158. MH_BASE+IDM_KEEP, "Pastes the contents of the Clipboard onto a ClipBook page."
  159. MH_BASE+IDM_DELETE, "Deletes ClipBook page or contents of Clipboard"
  160. MH_BASE+IDM_TOOLBAR, "Displays or hides the toolbar."
  161. MH_BASE+IDM_STATUSBAR, "Displays or hides the status bar."
  162. MH_BASE+IDM_LISTVIEW, "Displays the contents of the selected ClipBook by title."
  163. MH_BASE+IDM_PREVIEWS, "Displays a snapshot of each page of the selected ClipBook."
  164. MH_BASE+IDM_PAGEVIEW, "Displays pages of the selected ClipBook one at a time."
  165. MH_BASE+IDM_TILEVERT, "Arranges open windows one on top of the other without overlapping."
  166. MH_BASE+IDM_TILEHORZ, "Arranges open windows side-by-side."
  167. MH_BASE+IDM_CASCADE, "Arranges open windows so that their title bars are visible."
  168. MH_BASE+IDM_ARRANGEICONS, "Arranges icons in a row at the bottom of the window."
  169. MH_BASE+IDM_REFRESH, "Updates the active window."
  170. MH_BASE+IDM_CONTENTS, "Displays the contents of the Help file."
  171. MH_BASE+IDM_SEARCHHELP, "Searches the Help file by topic."
  172. MH_BASE+IDM_HELPHELP, "Displays information about using Help."
  173. MH_BASE+IDM_ABOUT, "Displays information about the ClipBook Viewer."
  174. MH_BASE+CBM_AUTO, "Displays the data in the default format."
  175. MH_POPUPBASE+0, "Commands to open files and manage connections."
  176. MH_POPUPBASE+1, "Commands to transfer Clipboard information."
  177. MH_POPUPBASE+2, "Commands to change the display of information."
  178. MH_POPUPBASE+3, "Commands to manage ClipBook windows."
  179. MH_POPUPBASE+4, "Commands to use Help."
  180. END
  181. #include "dialogs.dlg"