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.

245 lines
12 KiB

  1. #include <windows.h>
  2. #include "ids.h"
  3. #include "packager.rcv"
  4. #include "dialogs.h"
  5. ID_APPLICATION ICON packager.ico
  6. SPLIT CURSOR split.cur
  7. ID_APPLICATION MENU
  8. BEGIN
  9. POPUP "&File"
  10. BEGIN
  11. MENUITEM "&New", IDM_NEW
  12. MENUITEM "&Update", IDM_UPDATE, GRAYED
  13. MENUITEM "&Import...", IDM_IMPORT
  14. MENUITEM "&Save Contents...", IDM_EXPORT
  15. MENUITEM SEPARATOR
  16. MENUITEM "E&xit", IDM_EXIT
  17. END
  18. POPUP "&Edit"
  19. BEGIN
  20. MENUITEM "&Undo\tCtrl+Z", IDM_UNDO
  21. MENUITEM SEPARATOR
  22. MENUITEM "Cu&t\tCtrl+X", IDM_CUT
  23. MENUITEM "&Copy\tCtrl+C", IDM_COPY
  24. MENUITEM "&Delete\tDel", IDM_CLEAR
  25. MENUITEM "&Paste\tCtrl+V", IDM_PASTE
  26. MENUITEM "Paste &Link", IDM_PASTELINK
  27. MENUITEM "Copy Pac&kage", IDM_COPYPACKAGE
  28. MENUITEM SEPARATOR
  29. MENUITEM "Li&nks...", IDM_LINKS
  30. MENUITEM "La&bel...", IDM_LABEL
  31. MENUITEM "Co&mmand Line...", IDM_COMMAND
  32. MENUITEM "&Object", IDM_VERBMIN
  33. END
  34. POPUP "&Help"
  35. BEGIN
  36. MENUITEM "&Help Topics", IDM_INDEX
  37. MENUITEM SEPARATOR
  38. MENUITEM "&About Object Packager...",IDM_ABOUT
  39. END
  40. END
  41. ID_APPLICATION ACCELERATORS
  42. BEGIN
  43. VK_F6, IDM_NEXTWINDOW, VIRTKEY, SHIFT
  44. VK_BACK, IDM_UNDO, VIRTKEY, ALT
  45. "^Z", IDM_UNDO
  46. VK_DELETE, IDM_CLEAR, VIRTKEY
  47. VK_DELETE, IDM_CUT, VIRTKEY, SHIFT
  48. "^X", IDM_CUT
  49. VK_INSERT, IDM_COPY, VIRTKEY, CONTROL
  50. "^C", IDM_COPY
  51. VK_INSERT, IDM_PASTE, VIRTKEY, SHIFT
  52. "^V", IDM_PASTE
  53. VK_TAB, IDM_NEXTWINDOW, VIRTKEY
  54. VK_F1, IDM_INDEX, VIRTKEY
  55. "d", IDM_DESC, ALT
  56. "p", IDM_PICT, ALT
  57. "i", IDM_INSERTICON, ALT
  58. "D", IDM_DESC, ALT
  59. "P", IDM_PICT, ALT
  60. "I", IDM_INSERTICON, ALT
  61. END
  62. /*
  63. * Dialog for Link Properties...
  64. */
  65. DTPROP DIALOG LOADONCALL MOVEABLE DISCARDABLE 12, 34, 291, 97
  66. CAPTION "Links"
  67. FONT 8, "MS Shell Dlg"
  68. STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_VISIBLE | DS_MODALFRAME | WS_POPUP | DS_3DLOOK
  69. BEGIN
  70. CONTROL "&Edit", IDD_EDIT, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 249, 63, 37, 14
  71. /* List box full of links and objects */
  72. CONTROL "&Links:", -1, "static", SS_LEFT | WS_CHILD, 6, 4, 30, 9
  73. CONTROL "", IDD_LISTBOX, "listbox", LBS_EXTENDEDSEL | LBS_MULTIPLESEL
  74. | WS_TABSTOP | LBS_NOTIFY | LBS_USETABSTOPS | WS_BORDER | WS_CHILD | WS_VSCROLL, 5, 15, 234, 37
  75. /* Automatic and manual link options */
  76. CONTROL "Update:", -1, "static", SS_LEFT | WS_CHILD, 8, 60, 30, 9
  77. CONTROL "Au&tomatic", IDD_AUTO, "button", BS_RADIOBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 39, 58, 46, 14
  78. CONTROL "&Manual", IDD_MANUAL, "button", BS_RADIOBUTTON | WS_TABSTOP | WS_CHILD, 89, 58, 42, 14
  79. /* Push buttons at the bottom of the dialog */
  80. CONTROL "&Update Now", IDD_UPDATE, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 26, 75, 58, 14
  81. CONTROL "Ca&ncel Link", IDD_FREEZE, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 91, 75, 58, 14
  82. CONTROL "C&hange Link...", IDD_CHANGE, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 156, 75, 58, 14
  83. /* Push buttons on the side of the dialog */
  84. CONTROL "OK", IDOK, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 249, 6, 37, 14
  85. CONTROL "Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 249, 25, 37, 14
  86. CONTROL "&Activate", IDD_PLAY, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 249, 44, 37, 14
  87. END
  88. DTINVALIDLINK DIALOG LOADONCALL MOVEABLE DISCARDABLE 9, 25, 134, 38
  89. CAPTION "Packager"
  90. FONT 8, "MS Shell Dlg"
  91. STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP | DS_MODALFRAME | DS_3DLOOK
  92. BEGIN
  93. CONTROL "Link unavailable.", 100, "static", SS_CENTER | WS_CHILD, 10, 5, 112, 8
  94. CONTROL "OK", IDOK, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 10, 18, 36, 14
  95. CONTROL "&Link Properties...", IDD_CHANGE, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 55, 18, 69, 14
  96. END
  97. DTCREATE DIALOG LOADONCALL MOVEABLE DISCARDABLE 9, 26, 183, 62
  98. CAPTION "Insert New Object"
  99. FONT 8, "MS Shell Dlg"
  100. STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_VISIBLE | WS_POPUP | DS_MODALFRAME | DS_3DLOOK
  101. BEGIN
  102. CONTROL "Object Type:", -1, "static", SS_LEFT | WS_CHILD, 7, 5, 123, 8
  103. CONTROL "", IDD_LISTBOX, "listbox", LBS_NOTIFY | LBS_STANDARD
  104. | WS_BORDER | WS_VSCROLL | WS_CHILD, 5, 15, 125, 41
  105. CONTROL "OK", IDOK, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 140, 8, 35, 14
  106. CONTROL "Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 140, 25, 35, 14
  107. END
  108. DTCHANGETEXT DIALOG LOADONCALL MOVEABLE DISCARDABLE 9, 26, 183, 34
  109. CAPTION "Label"
  110. FONT 8, "MS Shell Dlg"
  111. STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP | DS_MODALFRAME | DS_3DLOOK
  112. BEGIN
  113. CONTROL "&Label:", IDD_LABEL, "static", SS_LEFT | WS_CHILD, 11, 4, 25, 8
  114. CONTROL "", IDD_ICONTEXT, "edit", ES_LEFT | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP | WS_CHILD, 10, 15, 128, 14
  115. CONTROL "OK", IDOK, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 146, 2, 32, 14
  116. CONTROL "Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 146, 18, 32, 14
  117. END
  118. DTCHANGECMDTEXT DIALOG LOADONCALL MOVEABLE DISCARDABLE 9, 26, 183, 34
  119. CAPTION "Command Line"
  120. FONT 8, "MS Shell Dlg"
  121. STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP | DS_MODALFRAME | DS_3DLOOK
  122. BEGIN
  123. CONTROL "&Command:", IDD_LABEL, "static", SS_LEFT | WS_CHILD, 11, 4, 80, 8
  124. CONTROL "", IDD_COMMAND, "edit", ES_OEMCONVERT | ES_LEFT | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP | WS_CHILD, 10, 15, 128, 14
  125. CONTROL "OK", IDOK, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 146, 2, 32, 14
  126. CONTROL "Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 146, 18, 32, 14
  127. END
  128. DTFAILEDUPDATE DIALOG 6, 18, 251, 63
  129. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_3DLOOK
  130. CAPTION "Object Update"
  131. FONT 8, "MS Shell Dlg"
  132. BEGIN
  133. DEFPUSHBUTTON "&Continue Editing", IDD_CONTINUEEDIT, 77, 36, 68, 14, WS_TABSTOP|WS_GROUP
  134. PUSHBUTTON "Update && E&xit", IDD_UPDATEEXIT, 6, 36, 55, 14
  135. LTEXT "Text", IDD_TEXT, 9, 9, 233, 20
  136. END
  137. STRINGTABLE DISCARDABLE {
  138. IDS_APPNAME, "Object Packager"
  139. IDS_EMBNAME_CONTENT, "Package in"
  140. IDS_MAYBESAVE, "Save Changes to %s?"
  141. IDS_MAYBEUPDATE, "Update %s?"
  142. IDS_FILTER, "Package"
  143. IDS_CHANGELINK, "Change Link"
  144. IDS_ALLFILTER, "All Files (*.*)"
  145. IDS_CONTENT, "--Content--"
  146. IDS_DESCRIPTION, "&Description"
  147. IDS_PICTURE, "&Picture"
  148. IDS_APPEARANCE, "--Appearance--"
  149. IDS_CONTENT_OBJECT, "ContentObject"
  150. IDS_APPEARANCE_OBJECT, "AppearanceObject"
  151. IDS_GENERIC, "Generic"
  152. IDS_INSERTICON, "Insert &Icon..."
  153. IDS_VIEW, "View:"
  154. IDS_LINKTOFILE, "Link to %s"
  155. IDS_EMBEDFILE, "Copy of %s"
  156. IDS_IMPORTFILE, "Import"
  157. IDS_EXPORTFILE, "Save Contents"
  158. IDS_UNTITLED, "Package"
  159. IDS_FROZEN, "Frozen %s"
  160. IDS_OBJECT, "Object"
  161. IDS_OBJECT_MENU, "&Object"
  162. IDS_UNDO_MENU, "Undo %s"
  163. IDS_EDIT, "Edit"
  164. IDS_ASKCLOSETASK, "This object has been changed.\nUpdate document before proceeding?"
  165. IDS_OVERWRITE, "%s exists. You can either replace the existing version or use the Save Contents command to save to a different filename.\n\nDo you want to replace the existing version?"
  166. IDS_PRIMARY_VERB, "Activate &Contents"
  167. IDS_SECONDARY_VERB, "Edit &Package"
  168. IDS_FAILEDUPDATE, "This %s document can only be updated when you exit %s."
  169. IDS_NOICONSTITLE, "Change Icon"
  170. IDS_NOICONSMSG, "Cannot find any icons in the specified file. The filename may be invalid, or the file may not exist."
  171. E_FAILED_TO_READ_FILE, "Failed to read file."
  172. E_FAILED_TO_SAVE_FILE, "Failed to save file."
  173. IDS_INVALID_FILENAME, "The package contents could not be saved to the filename '%s'.\n\nMake sure that there is enough free space on the volume, deleting some files if necessary, and try again."
  174. E_FAILED_TO_DELETE_OBJECT, "The object can not be deleted because the application needed by the object is busy.\n\nYou may switch to the object's application and try to correct the problem."
  175. E_CLIPBOARD_COPY_FAILED, "Not enough memory to cut to the Clipboard.\n\nQuit one or more applications to increase available memory, and then try again."
  176. E_GET_FROM_CLIPBOARD_FAILED, "Not enough memory to paste the contents of the Clipboard.\n\nQuit one or more applications to increase available memory and then try again."
  177. E_FAILED_TO_READ_OBJECT, "Failed to read object."
  178. E_FAILED_TO_CREATE_CHILD_WINDOW,"Failed to create child window."
  179. E_FAILED_TO_CREATE_OBJECT, "Failed to create new object."
  180. E_UNEXPECTED_RELEASE, "DDE conversation is not valid."
  181. E_FAILED_TO_LAUNCH_SERVER, "Server application can not be found. Make sure that the application is set up on your system and that the directory containing the application is on your PATH. Or try reinstalling the application."
  182. E_FAILED_TO_UPDATE, "Failed to update object."
  183. E_FAILED_TO_FREEZE, "Failed to freeze object."
  184. E_FAILED_TO_UPDATE_LINK, "Not enough memory to determine the link update setting.\n\nQuit one or more applications to increase available memory, and then try again."
  185. E_FAILED_TO_REGISTER_SERVER, "Failed to register server."
  186. E_FAILED_TO_REGISTER_DOCUMENT, "Failed to register document."
  187. E_FAILED_TO_RECONNECT_OBJECT, "Failed to reconnect link to server."
  188. E_FAILED_TO_EXECUTE_COMMAND, "Failed to carry out command."
  189. E_FAILED_TO_FIND_ASSOCIATION, "No application is associated with this file."
  190. W_STATIC_OBJECT, "Warning: Static object unexpected."
  191. W_FAILED_TO_CLONE_UNDO, "Warning: You will not be able to undo this action using the Undo command."
  192. W_FAILED_TO_NOTIFY, "Warning: Failed to notify library."
  193. IDS_AUTO, "Automatic"
  194. IDS_MANUAL, "Manual"
  195. IDS_CANCELED, "Canceled"
  196. IDS_LOWMEM, "Not enough memory to perform this operation.\n\nClose one or more applications and try again." /* 128 */
  197. IDS_CHNGICONPROGS "Programs (*.exe)#*.exe#Libraries (*.dll)#*.dll#Icons (*.ico)#*.ico#All Files (*.*)#*.*#"
  198. IDS_BROWSE "Browse"
  199. IDS_ACCESSDENIED, "Access to the specified device, path or file is denied." /* 128 */
  200. IDS_NOZEROSIZEFILES, "Packager cannot package empty files."
  201. /*
  202. For localizing Edit.Object menu item: 'v'erb, 'c'lass, 'o'bject.
  203. You can omit any word in the menu string by omitting the
  204. character from the control string. Both control strings *must* be
  205. defined because each is used in different circumstances (single and
  206. popup cases). Any characters besides v,c, and o are interpreted
  207. literally and are inserted into the menu string (spaces, hyphens, etc).
  208. */
  209. IDS_SINGLEVERB "v c o"
  210. IDS_POPUPVERBS "c o"
  211. }