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.

229 lines
13 KiB

  1. // WARNING
  2. // localizable resources only
  3. // non-localizable resources must go in url.rc
  4. #include "winver.h"
  5. #include "resource.h"
  6. #include <commctrl.h>
  7. #include <winuser.h>
  8. #include "url.rcv"
  9. // nonlocalizable resources used by localizable resources (dialogs, etc)
  10. // BUGBUG if pluggable UI gets turned on for this dll IDI_WEB_DOCUMENT
  11. // needs to live in urllc.rc as well as url.rc
  12. //IDI_WEB_DOCUMENT ICON DISCARDABLE "WEBDOC.ICO"
  13. /////////////////////////////////////////////////////////////////////////////
  14. //
  15. // Dialog
  16. //
  17. DLG_INTERNET_SHORTCUT_PROP_SHEET DIALOG DISCARDABLE 20, 20, 227, 200
  18. STYLE DS_MODALFRAME | DS_3DLOOK | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP
  19. CAPTION "Internet Shortcut"
  20. FONT 8, "MS Shell Dlg"
  21. BEGIN
  22. ICON IDI_WEB_DOCUMENT,IDD_ICON,7,7,18,20
  23. EDITTEXT IDD_NAME,48,11,172,14,ES_AUTOHSCROLL | ES_READONLY | NOT
  24. WS_BORDER | NOT WS_TABSTOP
  25. LTEXT "",IDD_LINE_1,7,32,213,1,SS_ETCHEDHORZ
  26. LTEXT "&Target URL:",IDD_URL_TEXT,7,43,40,8
  27. EDITTEXT IDD_URL,57,40,163,14,ES_AUTOHSCROLL
  28. LTEXT "",IDD_LINE_2,7,62,213,1,SS_ETCHEDHORZ
  29. LTEXT "&Start in:",-1,7,73,25,8
  30. EDITTEXT IDD_START_IN,57,70,163,14,ES_AUTOHSCROLL
  31. LTEXT "Shortcut &key:",IDD_START_IN_TEXT,7,93,43,8
  32. CONTROL "",IDD_HOTKEY,"msctls_hotkey32",WS_BORDER | WS_TABSTOP,
  33. 57,90,163,14
  34. LTEXT "&Run:",-1,7,113,16,8
  35. COMBOBOX IDD_SHOW_CMD,57,110,163,40,CBS_DROPDOWNLIST | WS_VSCROLL |
  36. WS_TABSTOP
  37. PUSHBUTTON "&Change Icon...",IDD_CHANGE_ICON,160,179,60,14
  38. END
  39. DLG_OPENAS DIALOG DISCARDABLE 0, 0, 212, 179
  40. STYLE DS_MODALFRAME | DS_3DLOOK | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP
  41. CAPTION "Open With"
  42. FONT 8, "MS Shell Dlg"
  43. BEGIN
  44. LTEXT "&Choose the program you want to use:",-1,7,36,169,8
  45. CONTROL "",IDD_APPLIST,WC_LISTVIEW,WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL | LVS_NOCOLUMNHEADER | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS,7,46,197,78
  46. LTEXT "Click the program you want to use to open the file '%s'.\nIf the program you want is not in the list, click Other.",IDD_TEXT,7,7,198,24
  47. CONTROL "Always &use this program to open this type of file",IDD_MAKEASSOC, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,131,198,10
  48. DEFPUSHBUTTON "OK",IDOK,47,157,50,14,WS_DISABLED
  49. PUSHBUTTON "Cancel",IDCANCEL,101,157,50,14
  50. PUSHBUTTON "O&ther...",IDD_OTHER,155,157,50,14
  51. END
  52. DLG_OPENAS_NOTYPE DIALOG DISCARDABLE 0, 0, 212, 209
  53. STYLE DS_MODALFRAME | DS_3DLOOK | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP
  54. CAPTION "Open With"
  55. FONT 8, "MS Shell Dlg"
  56. BEGIN
  57. LTEXT "Click the program you want to use to open the file '%s'.\nIf the program you want is not in the list, click Other.",IDD_TEXT,7,7,199,24
  58. LTEXT "&Description of '%s' files:",IDD_DESCRIPTIONTEXT,7,32,169,8
  59. EDITTEXT IDD_DESCRIPTION,7,45,197,14,ES_AUTOHSCROLL
  60. LTEXT "&Choose the program you want to use:",IDC_STATIC,7,66,169,8
  61. CONTROL "",IDD_APPLIST,WC_LISTVIEW,WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL | LVS_NOCOLUMNHEADER | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS,7,76,197,78
  62. CONTROL "Always &use this program to open this file",IDD_MAKEASSOC, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,161,198,10
  63. DEFPUSHBUTTON "OK",IDOK,47,187,50,14,WS_DISABLED
  64. PUSHBUTTON "Cancel",IDCANCEL,101,187,49,14
  65. PUSHBUTTON "O&ther...",IDD_OTHER,155,187,50,14
  66. END
  67. DLG_FILETYPEOPTIONS DIALOG DISCARDABLE 0, 0, 227, 212
  68. STYLE DS_MODALFRAME | DS_3DLOOK | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP
  69. CAPTION "File Types"
  70. FONT 8, "MS Shell Dlg"
  71. BEGIN
  72. LTEXT "Registered file &types:",IDC_STATIC,7,7,108,8
  73. CONTROL "",IDC_FT_PROP_LV_FILETYPES,WC_LISTVIEW, WS_BORDER | WS_TABSTOP | LVS_REPORT | LVS_NOCOLUMNHEADER | LVS_SINGLESEL | LVS_SHOWSELALWAYS,7,16,145,100
  74. DEFPUSHBUTTON "&New Type...",IDC_FT_PROP_NEW,164,16,55,14
  75. PUSHBUTTON "&Remove",IDC_FT_PROP_REMOVE,164,33,55,14
  76. PUSHBUTTON "&Edit...",IDC_FT_PROP_EDIT,164,51,55,14
  77. ICON "",IDC_FT_PROP_DOCICON,14,135,18,20
  78. LTEXT "Extension:",IDC_FT_PROP_DOCEXTRO_TXT,45,142,34,8
  79. EDITTEXT IDC_FT_PROP_DOCEXTRO,120,142,93,14,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER
  80. ICON "",IDC_FT_PROP_OPENICON,14,177,18,20
  81. LTEXT "Opens with:",IDC_FT_PROP_OPENEXE_TXT,45,184,38,8
  82. EDITTEXT IDC_FT_PROP_OPENEXE,120,184,93,14,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER
  83. LTEXT "Content type (MIME):",IDC_FT_PROP_CONTTYPERO_TXT,45,163,70,8
  84. EDITTEXT IDC_FT_PROP_CONTTYPERO,120,163,93,14,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER
  85. GROUPBOX "File type details",IDC_GROUPBOX,7,121,213,84
  86. END
  87. DLG_FILETYPEOPTIONSEDIT DIALOG DISCARDABLE 32, 20, 227, 246
  88. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | WS_POPUP | WS_VISIBLE |
  89. WS_CAPTION | WS_SYSMENU
  90. CAPTION "Edit File Type"
  91. FONT 8, "MS Shell Dlg"
  92. BEGIN
  93. ICON "",IDC_FT_EDIT_DOCICON,7,11,21,20
  94. PUSHBUTTON "Change &Icon...",IDC_FT_EDIT_CHANGEICON,48,14,65,14
  95. CONTROL "",IDC_NO_HELP_1,"Static",SS_BLACKFRAME,6,41,213,1
  96. LTEXT "&Description of type:",IDC_FT_EDIT_DESCTEXT,7,49,62,8
  97. EDITTEXT IDC_FT_EDIT_DESC,83,47,136,14,ES_AUTOHSCROLL
  98. LTEXT "Asso&ciated extension:",IDC_FT_EDIT_EXTTEXT,7,68,70,8,
  99. NOT WS_VISIBLE
  100. EDITTEXT IDC_FT_EDIT_EXT,83,66,136,14,ES_AUTOHSCROLL | NOT
  101. WS_VISIBLE
  102. LTEXT "Content &type (MIME):",IDC_FT_COMBO_CONTTYPETEXT,7,87,
  103. 70,8
  104. COMBOBOX IDC_FT_COMBO_CONTTYPE,83,85,136,58,CBS_DROPDOWN |
  105. CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  106. LTEXT "Default e&xtension for content type:",
  107. IDC_FT_COMBO_DEFEXTTEXT,7,106,113,8
  108. COMBOBOX IDC_FT_COMBO_DEFEXT,129,104,90,52,CBS_DROPDOWNLIST |
  109. CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  110. LTEXT "&Actions:",IDC_FT_EDIT_LV_CMDSTEXT,7,118,52,8
  111. CONTROL "",IDC_FT_EDIT_LV_CMDS,"SysListView32",LVS_REPORT |
  112. LVS_SINGLESEL | LVS_SORTASCENDING | LVS_OWNERDRAWFIXED |
  113. LVS_NOCOLUMNHEADER | WS_BORDER | WS_TABSTOP,7,128,212,46
  114. PUSHBUTTON "&New...",IDC_FT_EDIT_NEW,7,178,50,14
  115. PUSHBUTTON "&Edit...",IDC_FT_EDIT_EDIT,61,178,50,14
  116. PUSHBUTTON "&Remove",IDC_FT_EDIT_REMOVE,116,178,50,14,WS_DISABLED
  117. PUSHBUTTON "&Set Default",IDC_FT_EDIT_DEFAULT,170,178,50,14
  118. CONTROL " Confirm &open after download",IDC_FT_EDIT_CONFIRM_OPEN,
  119. "Button",BS_AUTOCHECKBOX | WS_TABSTOP,108,197,110,8
  120. CONTROL " Al&ways show extension",IDC_FT_EDIT_SHOWEXT,"Button",
  121. BS_AUTOCHECKBOX | WS_TABSTOP,7,210,90,8
  122. CONTROL " &Browse in same window",IDC_BROWSEINPLACE,"Button",
  123. BS_AUTOCHECKBOX | WS_TABSTOP | WS_DISABLED,108,210,92,10
  124. DEFPUSHBUTTON "OK",IDOK,116,228,50,14
  125. PUSHBUTTON "Cancel",IDCANCEL,170,228,50,14
  126. END
  127. DLG_FILETYPEOPTIONSCMD DIALOG DISCARDABLE 5, 0, 227, 207
  128. STYLE DS_MODALFRAME | DS_3DLOOK | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP
  129. CAPTION "New Action"
  130. FONT 8, "MS Shell Dlg"
  131. BEGIN
  132. LTEXT "&Action:",IDC_STATIC,7,7,63,8
  133. EDITTEXT IDC_FT_CMD_ACTION,7,16,155,14,ES_AUTOHSCROLL
  134. LTEXT "App&lication used to perform action:",
  135. IDC_FT_CMD_EXETEXT,7,41,150,8
  136. EDITTEXT IDC_FT_CMD_EXE,7,50,155,14,ES_AUTOHSCROLL
  137. PUSHBUTTON "B&rowse...",IDC_FT_CMD_BROWSE,169,50,50,14
  138. GROUPBOX " ",IDC_FT_CMD_DDEGROUP,7,73,155,125
  139. CONTROL "&Use DDE",IDC_FT_CMD_USEDDE,"Button",BS_AUTOCHECKBOX |
  140. WS_TABSTOP,14,73,45,8
  141. LTEXT "&DDE message:",IDC_STATIC,13,88,67,8
  142. EDITTEXT IDC_FT_CMD_DDEMSG,13,97,143,14,ES_AUTOHSCROLL
  143. LTEXT "Appli&cation:",IDC_STATIC,13,115,40,8
  144. EDITTEXT IDC_FT_CMD_DDEAPP,13,124,143,14,ES_AUTOHSCROLL
  145. LTEXT "DDE application &not running:",IDC_STATIC,13,142,104,8
  146. EDITTEXT IDC_FT_CMD_DDEAPPNOT,13,151,143,14,ES_AUTOHSCROLL
  147. LTEXT "&Topic:",IDC_STATIC,13,169,39,8
  148. EDITTEXT IDC_FT_CMD_DDETOPIC,13,178,143,14,ES_AUTOHSCROLL
  149. DEFPUSHBUTTON "OK",IDOK,169,16,50,14
  150. PUSHBUTTON "Cancel",IDCANCEL,169,33,50,14
  151. END
  152. /////////////////////////////////////////////////////////////////////////////
  153. //
  154. // String Table
  155. //
  156. STRINGTABLE DISCARDABLE
  157. BEGIN
  158. IDS_SHOW_NORMAL "Normal window"
  159. IDS_SHOW_MINIMIZED "Minimized"
  160. IDS_SHOW_MAXIMIZED "Maximized"
  161. IDS_INVALID_URL_SYNTAX "The name ""%1"" specified in the Target URL box is not valid. Make sure the name is correct."
  162. IDS_UNREGISTERED_PROTOCOL
  163. "The protocol ""%1"" does not have a registered program. Do you want to keep this target anyway?"
  164. IDS_SHORTCUT_ERROR_TITLE "Problem with Shortcut"
  165. IDS_WORKING_DIR_NOT_FOUND
  166. "The folder ""%1"" specified in the Start In box is not valid. Make sure that the folder exists and that the path is correct."
  167. IDS_EXEC_FAILED "This Internet shortcut cannot be opened because %1 failed to run."
  168. IDS_EXEC_OUT_OF_MEMORY "There is not enough free memory to open this Internet shortcut. Quit one or more programs, and then try again."
  169. IDS_EXEC_INVALID_SYNTAX "The target ""%1"" of this Internet shortcut is not valid. Go to the Internet shortcut's property sheet and make sure the target is correct."
  170. IDS_EXEC_UNREGISTERED_PROTOCOL
  171. "Unable to open this Internet shortcut. The protocol ""%1"" does not have a registered program."
  172. IDS_OPEN_INTSHCUT_OUT_OF_MEMORY "There is not enough free memory to open this Internet shortcut. Quit one or more programs, and then try again."
  173. IDS_NO_MAPI_PROVIDER "Cannot send mail. No mail program is set up to send mail using Internet shortcuts."
  174. IDS_MAPI_LOADLIBRARY_FAILED "Cannot send mail. Unable to load %1. Try setting up your mail program again."
  175. IDS_MAPI_GETPROCADDRESS_FAILED
  176. "Cannot send mail. %1 is missing entry point %2. You may have an incorrect version of %1. Try setting up your mail program again."
  177. IDS_MAPI_MAPISENDMAIL_FAILED "The mail program was unable to send mail."
  178. IDS_NEWS_LOADLIBRARY_FAILED "To read Internet newsgroups, you must install news reading software and make sure it is set up correctly."
  179. IDS_NEWS_GETPROCADDRESS_FAILED "To read Internet newsgroups, you must install news reading software and make sure it is set up correctly. Microsoft Network users can read newsgroups by upgrading their accounts to support Internet access."
  180. IDS_TELNET_APP_NOT_FOUND "Unable to open this Internet shortcut. %1 cannot be found. Try installing %1 by double-clicking the Add/Remove Programs icon in Control Panel."
  181. IDS_TELNET_EXEC_FAILED "This Internet shortcut cannot be opened because %1 failed to run."
  182. IDS_LOADFROMFILE_FAILED "Unable to open Internet shortcut ""%1""."
  183. IDS_SHELLEXECUTE_FAILED "Unable to open ""%1""."
  184. END
  185. STRINGTABLE DISCARDABLE
  186. BEGIN
  187. IDS_SHORT_NEW_INTERNET_SHORTCUT "ishortct.url"
  188. IDS_NEW_INTERNET_SHORTCUT "New Internet Shortcut.url"
  189. IDS_INTERNET_SHORTCUT "Internet Shortcut"
  190. IDS_URL_DESC_FORMAT "URL:%s Protocol"
  191. END
  192. STRINGTABLE DISCARDABLE
  193. BEGIN
  194. IDS_ADDNEWFILETYPE "Add New File Type"
  195. IDS_EXTTYPETEMPLATE "%s File"
  196. IDS_FT "File Types"
  197. IDS_FT_CLOSE "Close"
  198. IDS_FT_EDITTITLE "Editing action for type: "
  199. IDS_FT_EXEFILE "[Executable]"
  200. IDS_FT_MB_EXETEXT "The specified program could not be found. Make sure the filename and path are correct."
  201. IDS_FT_MB_EXTTEXT "The extension %s is already in use by file type %s. Choose another extension."
  202. IDS_FT_MB_NOACTION "You must specify an action."
  203. IDS_FT_MB_NOEXT "You must specify an extension for the file type."
  204. IDS_FT_MB_REMOVEACTION "Are you sure you would like to remove this action?"
  205. IDS_FT_MB_REMOVETYPE "If you remove a registered file type, you will not be able to open\nfiles of that type by double-clicking their icons.\n\nAre you sure you want to remove the file type?"
  206. END
  207. STRINGTABLE DISCARDABLE
  208. BEGIN
  209. IDS_OPENAS "Open With"
  210. IDS_EXE "exe"
  211. IDS_PROGRAMSFILTER "Programs#*.exe;*.pif;*.com;*.bat#All Files (*.*)#*.*#"
  212. IDS_FILETYPENAME "File"
  213. END