progman.rc 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. /*
  2. * Program Manager
  3. *
  4. * Copyright 1996 Ulrich Schmid
  5. * Copyright 2002 Sylvain Petreolle
  6. *
  7. * This library is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU Lesser General Public
  9. * License as published by the Free Software Foundation; either
  10. * version 2.1 of the License, or (at your option) any later version.
  11. *
  12. * This library is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * Lesser General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU Lesser General Public
  18. * License along with this library; if not, write to the Free Software
  19. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  20. */
  21. #include "winuser.h"
  22. #include "progman.h"
  23. #pragma makedep po
  24. LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
  25. MAIN_MENU MENU
  26. {
  27. POPUP "&File" {
  28. MENUITEM "&New...", PM_NEW
  29. MENUITEM "O&pen\tEnter", PM_OPEN
  30. MENUITEM "&Move...\tF7", PM_MOVE, GRAYED
  31. MENUITEM "&Copy...\tF8", PM_COPY, GRAYED
  32. MENUITEM "&Delete\tDel", PM_DELETE
  33. MENUITEM "&Properties\tAlt+Enter", PM_ATTRIBUTES
  34. MENUITEM SEPARATOR
  35. MENUITEM "&Execute...", PM_EXECUTE
  36. MENUITEM SEPARATOR
  37. MENUITEM "E&xit Windows", PM_EXIT
  38. }
  39. POPUP "&Options" {
  40. MENUITEM "&Arrange automatically", PM_AUTO_ARRANGE
  41. MENUITEM "&Minimize on run", PM_MIN_ON_RUN
  42. MENUITEM "&Save settings on exit", PM_SAVE_SETTINGS
  43. }
  44. POPUP "&Windows" {
  45. MENUITEM "&Overlapped\tShift+F5", PM_OVERLAP
  46. MENUITEM "&Side by side\tShift+F4", PM_SIDE_BY_SIDE
  47. MENUITEM "&Arrange Icons", PM_ARRANGE
  48. }
  49. POPUP "&Help" {
  50. MENUITEM "&Contents\tF1", PM_CONTENTS
  51. MENUITEM "&About Program Manager", PM_ABOUT_WINE
  52. }
  53. }
  54. STRINGTABLE
  55. {
  56. IDS_PROGRAM_MANAGER, "Program Manager"
  57. IDS_ERROR, "ERROR"
  58. IDS_WARNING, "WARNING"
  59. IDS_INFO, "Information"
  60. IDS_DELETE, "Delete"
  61. IDS_DELETE_GROUP_s, "Delete group `%s'?"
  62. IDS_DELETE_PROGRAM_s, "Delete program `%s'?"
  63. IDS_NOT_IMPLEMENTED, "Not implemented"
  64. IDS_FILE_READ_ERROR_s, "Error reading `%s'."
  65. IDS_FILE_WRITE_ERROR_s, "Error writing `%s'."
  66. IDS_GRPFILE_READ_ERROR_s, "\
  67. The group file `%s' cannot be opened.\n\
  68. Should it be tried further on?"
  69. IDS_OUT_OF_MEMORY, "Out of memory."
  70. IDS_WINHELP_ERROR, "Help not available."
  71. IDS_UNKNOWN_FEATURE_s, "Unknown feature in %s"
  72. IDS_FILE_NOT_OVERWRITTEN_s, "File `%s' exists. Not overwritten."
  73. IDS_SAVE_GROUP_AS_s, "Save group as `%s' to prevent overwriting original files."
  74. IDS_NO_HOT_KEY, "#msgctxt#hotkey#None"
  75. IDS_ALL_FILES, "All files (*.*)"
  76. IDS_PROGRAMS, "Programs"
  77. IDS_LIBRARIES_DLL, "Libraries (*.dll)"
  78. IDS_SYMBOL_FILES, "Icon files"
  79. IDS_SYMBOLS_ICO, "Icons (*.ico)"
  80. }
  81. IDA_ACCEL ACCELERATORS
  82. {
  83. VK_F1, PM_CONTENTS, VIRTKEY
  84. VK_RETURN, PM_ATTRIBUTES, VIRTKEY, ALT
  85. }
  86. /* Dialog `New' */
  87. IDD_NEW DIALOG 0, 0, 170, 65
  88. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  89. FONT 8, "MS Shell Dlg"
  90. CAPTION "New"
  91. {
  92. RADIOBUTTON "", PM_NEW_GROUP, 10, 15, 10, 15
  93. LTEXT "Program &group", -1, 20, 18, 80, 15
  94. RADIOBUTTON "", PM_NEW_PROGRAM, 10, 35, 10, 15
  95. LTEXT "&Program", -1, 20, 38, 80, 15
  96. DEFPUSHBUTTON "OK", IDOK, 105, 5, 60, 15, WS_TABSTOP
  97. PUSHBUTTON "Cancel", IDCANCEL, 105, 25, 60, 15, WS_TABSTOP
  98. PUSHBUTTON "&Help", PM_HELP, 105, 45, 60, 15, WS_TABSTOP
  99. }
  100. /* Dialog `Move' */
  101. IDD_MOVE DIALOG 0, 0, 250, 65
  102. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  103. FONT 8, "MS Shell Dlg"
  104. CAPTION "Move Program"
  105. {
  106. LTEXT "Move program:", -1, 5, 5, 90, 15
  107. LTEXT "", PM_PROGRAM, 95, 5, 90, 15
  108. LTEXT "From group:", -1, 5, 13, 90, 15
  109. LTEXT "", PM_FROM_GROUP, 95, 13, 90, 15
  110. LTEXT "&To group:", PM_TO_GROUP_TXT, 5, 28, 140, 15
  111. COMBOBOX PM_TO_GROUP, 5, 38, 140, 50, WS_TABSTOP | CBS_DROPDOWNLIST
  112. DEFPUSHBUTTON "OK", IDOK, 185, 5, 60, 15, WS_TABSTOP
  113. PUSHBUTTON "Cancel", IDCANCEL, 185, 25, 60, 15, WS_TABSTOP
  114. PUSHBUTTON "&Help", PM_HELP, 185, 45, 60, 15, WS_TABSTOP
  115. }
  116. /* Dialog `Copy' */
  117. IDD_COPY DIALOG 0, 0, 250, 65
  118. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  119. FONT 8, "MS Shell Dlg"
  120. CAPTION "Copy Program"
  121. {
  122. LTEXT "Copy program:", -1, 5, 5, 90, 15
  123. LTEXT "", PM_PROGRAM, 95, 5, 90, 15
  124. LTEXT "From group:", -1, 5, 13, 90, 15
  125. LTEXT "", PM_FROM_GROUP, 95, 13, 90, 15
  126. LTEXT "&To group:", PM_TO_GROUP_TXT, 5, 28, 140, 15
  127. COMBOBOX PM_TO_GROUP, 5, 38, 140, 50, WS_TABSTOP | CBS_DROPDOWNLIST
  128. DEFPUSHBUTTON "OK", IDOK, 185, 5, 60, 15, WS_TABSTOP
  129. PUSHBUTTON "Cancel", IDCANCEL, 185, 25, 60, 15, WS_TABSTOP
  130. PUSHBUTTON "&Help", PM_HELP, 185, 45, 60, 15, WS_TABSTOP
  131. }
  132. /* Dialog `Group attributes' */
  133. IDD_GROUP DIALOG 0, 0, 250, 65
  134. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  135. FONT 8, "MS Shell Dlg"
  136. CAPTION "Program Group Attributes"
  137. {
  138. LTEXT "&Description:", PM_DESCRIPTION_TXT, 5, 18, 60, 15
  139. EDITTEXT PM_DESCRIPTION, 70, 18, 110, 15, WS_TABSTOP
  140. LTEXT "&Group file:", PM_FILE_TXT, 5, 38, 60, 15
  141. EDITTEXT PM_FILE, 70, 38, 110, 15, WS_TABSTOP
  142. DEFPUSHBUTTON "OK", IDOK, 185, 5, 60, 15, WS_TABSTOP
  143. PUSHBUTTON "Cancel", IDCANCEL, 185, 25, 60, 15, WS_TABSTOP
  144. PUSHBUTTON "&Help", PM_HELP, 185, 45, 60, 15, WS_TABSTOP
  145. }
  146. /* Dialog `Program attributes' */
  147. IDD_PROGRAM DIALOG 0, 0, 275, 105
  148. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  149. FONT 8, "MS Shell Dlg"
  150. CAPTION "Program Attributes"
  151. {
  152. LTEXT "&Description:", PM_DESCRIPTION_TXT, 5, 10, 75, 10
  153. EDITTEXT PM_DESCRIPTION, 95, 10, 90, 15, WS_TABSTOP
  154. LTEXT "&Command line:", PM_COMMAND_LINE_TXT, 5, 25, 75, 10
  155. EDITTEXT PM_COMMAND_LINE, 95, 25, 90, 15, WS_TABSTOP
  156. LTEXT "&Working directory:", PM_DIRECTORY_TXT, 5, 40, 75, 10
  157. EDITTEXT PM_DIRECTORY, 95, 40, 90, 15, WS_TABSTOP
  158. LTEXT "&Key combination:", PM_HOT_KEY_TXT, 5, 55, 75, 10
  159. EDITTEXT PM_HOT_KEY, 95, 55, 90, 15, WS_TABSTOP
  160. ICON "", PM_ICON, 20, 70
  161. CHECKBOX "&Minimize at launch", PM_SYMBOL, 95, 75, 90, 10, WS_TABSTOP
  162. DEFPUSHBUTTON "OK", IDOK, 200, 5, 70, 15, WS_TABSTOP
  163. PUSHBUTTON "Cancel", IDCANCEL, 200, 25, 70, 15, WS_TABSTOP
  164. PUSHBUTTON "&Browse...", PM_BROWSE, 200, 45, 70, 15, WS_TABSTOP
  165. PUSHBUTTON "Change &icon...", PM_OTHER_SYMBOL, 200, 65, 70, 15, WS_TABSTOP
  166. PUSHBUTTON "&Help", PM_HELP, 200, 85, 70, 15, WS_TABSTOP
  167. }
  168. /* Dialog `Symbol' */
  169. IDD_SYMBOL DIALOG 0, 0, 240, 85
  170. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  171. FONT 8, "MS Shell Dlg"
  172. CAPTION "Change Icon"
  173. {
  174. LTEXT "&Filename:", PM_ICON_FILE_TXT, 5, 15, 60, 10
  175. EDITTEXT PM_ICON_FILE, 65, 15, 105, 15, WS_TABSTOP
  176. LTEXT "Current &icon:", PM_SYMBOL_LIST_TXT, 5, 30, 60, 10
  177. COMBOBOX PM_SYMBOL_LIST, 5, 40, 60, 50,
  178. CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | CBS_OWNERDRAWFIXED | WS_TABSTOP
  179. DEFPUSHBUTTON "OK", IDOK, 175, 5, 60, 15, WS_TABSTOP
  180. PUSHBUTTON "Cancel", IDCANCEL, 175, 25, 60, 15, WS_TABSTOP
  181. PUSHBUTTON "&Browse...", PM_BROWSE, 175, 45, 60, 15, WS_TABSTOP
  182. PUSHBUTTON "&Help", PM_HELP, 175, 65, 60, 15, WS_TABSTOP
  183. }
  184. /* Dialog `Execute' */
  185. IDD_EXECUTE DIALOG 0, 0, 200, 85
  186. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  187. FONT 8, "MS Shell Dlg"
  188. CAPTION "Execute Program"
  189. {
  190. LTEXT "&Command line:", -1, 05, 15, 120, 10
  191. EDITTEXT PM_COMMAND, 05, 25, 120, 15, WS_TABSTOP
  192. CHECKBOX "", PM_SYMBOL, 05, 45, 10, 10, WS_TABSTOP
  193. LTEXT "&Minimize at launch", -1, 20, 45, 120, 10
  194. DEFPUSHBUTTON "OK", IDOK, 135, 5, 60, 15, WS_TABSTOP
  195. PUSHBUTTON "Cancel", IDCANCEL, 135, 25, 60, 15, WS_TABSTOP
  196. PUSHBUTTON "&Browse...", PM_BROWSE, 135, 45, 60, 15, WS_TABSTOP
  197. PUSHBUTTON "&Help", PM_HELP, 135, 65, 60, 15, WS_TABSTOP
  198. }