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.

430 lines
19 KiB

  1. // Resource IDs for FTPFOLDR
  2. //
  3. #include <intlid.h>
  4. #ifndef WC_LINK
  5. #define WC_LINK L"SysLink"
  6. #endif // WC_LINK
  7. #ifndef SS_CENTERIMAGE
  8. #define SS_CENTERIMAGE 0x00000200L
  9. #endif // SS_CENTERIMAGE
  10. #ifndef SS_REALSIZECONTROL
  11. #define SS_REALSIZECONTROL 0x00000040L
  12. #endif // SS_REALSIZECONTROL
  13. #include <commctrl.h> // for WC_COMBOBOXEX
  14. // This means the control won't have a name.
  15. #define IDC_UNUSED -1
  16. /*****************************************************************************
  17. *
  18. * Icons
  19. *
  20. *****************************************************************************/
  21. //#define IDI_FTPSERVER 1 // Icon for an FTP Server
  22. #define IDI_FTPSERVER IDI_FTPFOLDER // Icon for an FTP Server
  23. #define IDI_FTPFOLDER 2 // Icon for a closed folder on a FTP Server
  24. #define IDI_FTPOPENFOLDER 3 // Icon for an open folder on a FTP Server
  25. #define IDI_FTPMULTIDOC 4 // Icon for several ftp items.
  26. #define IDI_DELETEITEM 5 // Delete File
  27. // 2 Holes
  28. #define IDI_REPLACE 8 // File being overwritten
  29. #define IDI_KEY 9 // Key icon for Login As dialog
  30. #define IDI_NETFOLDER IDI_FTPFOLDER // Folder for Proxy Blocking dialog
  31. #define IDI_WRITE_ALLOWED 10 // This folder has write access
  32. #define IDI_WRITE_NOTALLOWED 11 // This folder does not have read access
  33. #define IDC_WARNING 12 // Warning icon for Login As dialog
  34. /*****************************************************************************
  35. *
  36. * Menus
  37. *
  38. *****************************************************************************/
  39. #define IDM_ITEMCONTEXT 1 // Context menu for items
  40. #define IDM_M_FOLDERVERBS 0 // Verbs only for folders
  41. #define IDM_M_FILEVERBS 1 // Verbs only for files
  42. #define IDM_M_VERBS 2 // Verbs appropriate for all selected items (in addition to above)
  43. #define IDM_M_SHAREDVERBS 3 // Verbs shared with defview (Common Shell verbs that aren't added in Context Menu)
  44. #define IDM_M_BACKGROUNDVERBS 4 // Verbs for the background menu (only when nothing is selected)
  45. #define IDM_M_BACKGROUND_POPUPMERGE 10 // Items that need to be merged with the current menu. (Arrange Items).
  46. #define IDC_ITEM_OPEN 0 // &Open -- folders only
  47. #define IDC_ITEM_EXPLORE 1 // &Explore -- folders only
  48. #define IDC_ITEM_DOWNLOAD 2 // Do&wnload
  49. #define IDC_ITEM_BKGNDPROP 3 // Properties for the background folder.
  50. #define IDC_LOGIN_AS 4 // Login as...
  51. #define IDC_ITEM_NEWFOLDER 5 // New Folder - Background Folder Only
  52. #define IDC_ITEM_ABOUTSITE 6
  53. #define IDC_ITEM_ABOUTFTP 7
  54. #define IDM_SHARED_EDIT_CUT 8
  55. #define IDM_SHARED_EDIT_COPY 9
  56. #define IDM_SHARED_EDIT_PASTE 10
  57. #define IDM_SHARED_FILE_LINK 11
  58. #define IDM_SHARED_FILE_DELETE 12
  59. #define IDM_SHARED_FILE_RENAME 13
  60. #define IDM_SHARED_FILE_PROP 14
  61. #define IDC_ITEM_FTPHELP 15
  62. #define IDC_ITEM_MAX 16
  63. /*****************************************************************************/
  64. #define IDM_FTPMERGE 2 /* Menu bar */
  65. /*
  66. * These are biased by SFVIDM_CLIENT_FIRST and can go up to 255.
  67. * However, IDM_SORT_* uses 0x30 through 0x3F.
  68. */
  69. #define IDM_PROPERTIESBG 20
  70. #define IDM_ID_DEBUG 0x40 /* 0x40 through 0x60 */
  71. /*****************************************************************************/
  72. #define IDM_DROPCONTEXT 3 /* Context menu for nondefault d/d */
  73. /*****************************************************************************/
  74. #define IDM_FOLDERCONTEXT 4 /* Context menu for folder background */
  75. #define IDM_FOLDER_NEW 0
  76. #define IDM_FOLDER_PROP 1
  77. /*****************************************************************************\
  78. Shared dialog IDs
  79. Use these deltas whenever you want to use FtpDlg_InitDlg to
  80. initialize a group of controls based on a list of pidls.
  81. NOTE! These cannot be an enum because the resource compiler doesn't
  82. understand enums.
  83. \*****************************************************************************/
  84. #define DLGTEML_FILENAME 0 // Name of file(s)
  85. #define DLGTEML_FILENAMEEDITABLE 1 // Editable filename
  86. #define DLGTEML_FILEICON 2 // Icon for file(s)
  87. #define DLGTEML_FILESIZE 3 // Size of file(s)
  88. #define DLGTEML_FILETIME 4 // Modification time of file(s)
  89. #define DLGTEML_FILETYPE 5 // Type description for file(s)
  90. #define DLGTEML_LOCATION 6 // Location of folder
  91. #define DLGTEML_COUNT 7 // Location of count
  92. #define DLGTEML_MAX 8
  93. #define DLGTEML_LABEL 20 // The label for an item (DLGTEML_FILENAME) equals (DLGTEML_FILENAME+DLGTEML_LABEL)
  94. /*****************************************************************************
  95. *
  96. * Derived dialog IDs
  97. *
  98. *****************************************************************************/
  99. #define IDC_ITEM 110
  100. #define IDC_FILENAME (IDC_ITEM + DLGTEML_FILENAME)
  101. #define IDC_FILENAME_EDITABLE (IDC_ITEM + DLGTEML_FILENAMEEDITABLE)
  102. #define IDC_FILEICON (IDC_ITEM + DLGTEML_FILEICON)
  103. #define IDC_FILESIZE (IDC_ITEM + DLGTEML_FILESIZE)
  104. #define IDC_FILETIME (IDC_ITEM + DLGTEML_FILETIME)
  105. #define IDC_FILETYPE (IDC_ITEM + DLGTEML_FILETYPE)
  106. #define IDC_LOCATION (IDC_ITEM + DLGTEML_LOCATION)
  107. #define IDC_COUNT (IDC_ITEM + DLGTEML_COUNT)
  108. #define IDC_FILETIME_LABEL (IDC_ITEM + DLGTEML_FILETIME + DLGTEML_LABEL)
  109. #define IDC_FILESIZE_LABEL (IDC_ITEM + DLGTEML_FILESIZE + DLGTEML_LABEL)
  110. #define IDC_ITEM2 120
  111. #define IDC_FILENAME2 (IDC_ITEM2 + DLGTEML_FILENAME)
  112. #define IDC_FILENAME_EDITABLE2 (IDC_ITEM2 + DLGTEML_FILENAMEEDITABLE)
  113. #define IDC_FILEICON2 (IDC_ITEM2 + DLGTEML_FILEICON)
  114. #define IDC_FILESIZE2 (IDC_ITEM2 + DLGTEML_FILESIZE)
  115. #define IDC_FILETIME2 (IDC_ITEM2 + DLGTEML_FILETIME)
  116. #define IDC_FILETYPE2 (IDC_ITEM2 + DLGTEML_FILETYPE)
  117. #define IDC_LOCATION2 (IDC_ITEM2 + DLGTEML_LOCATION)
  118. #define IDC_COUNT2 (IDC_ITEM2 + DLGTEML_COUNT)
  119. #define IDC_FILETIME2_LABEL (IDC_ITEM2 + DLGTEML_FILETIME + DLGTEML_LABEL)
  120. #define IDC_FILESIZE2_LABEL (IDC_ITEM2 + DLGTEML_FILESIZE + DLGTEML_LABEL)
  121. /*****************************************************************************
  122. *
  123. * Dialogs (and dialog controls)
  124. *
  125. *****************************************************************************/
  126. #define IDD_REPLACE 1 /* File being overwritten */
  127. #define IDC_REPLACE_YES IDYES /* Overwrite it */
  128. #define IDC_REPLACE_YESTOALL 32 /* Overwrite it and everything else */
  129. #define IDC_REPLACE_NO IDNO /* Skip this file */
  130. #define IDC_REPLACE_NOTOALL 33 /* Skip all files that conflict */
  131. #define IDC_REPLACE_CANCEL IDCANCEL /* Stop copying */
  132. #define IDC_REPLACE_OLDFILE 35 /* Description of old file */
  133. #define IDC_REPLACE_NEWFILE 37 /* Description of new file */
  134. #define IDC_REPLACE_NEWICON 38 /* Icon of new file */
  135. /*****************************************************************************/
  136. #define IDD_DELETEFILE 2 /* File being deleted */
  137. #define IDD_DELETEFOLDER 3 /* Folder being deleted */
  138. #define IDD_DELETEMULTI 4 /* Files/Folders being deleted */
  139. /*****************************************************************************/
  140. #define IDD_FILEPROP 32
  141. #define IDC_READONLY 7
  142. // Some items in the Login Dialog are the same across all three dialogs,
  143. // but some change.
  144. // These are the items that are all the same.
  145. #define IDD_LOGINDLG 40
  146. #define IDC_LOGINDLG_FTPSERVER (IDD_LOGINDLG + 1)
  147. #define IDC_LOGINDLG_ANONYMOUS_CBOX (IDD_LOGINDLG + 2)
  148. // These are the items that are different.
  149. #define IDC_LOGINDLG_USERNAME (IDD_LOGINDLG + 3)
  150. #define IDC_LOGINDLG_USERNAME_ANON (IDD_LOGINDLG + 4)
  151. #define IDC_LOGINDLG_MESSAGE_ANONREJECT (IDD_LOGINDLG + 5)
  152. #define IDC_LOGINDLG_MESSAGE_NORMAL (IDD_LOGINDLG + 6)
  153. #define IDC_LOGINDLG_MESSAGE_USERREJECT (IDD_LOGINDLG + 7)
  154. #define IDC_LOGINDLG_PASSWORD_DLG1 (IDD_LOGINDLG + 8)
  155. #define IDC_LOGINDLG_PASSWORD_DLG2 (IDD_LOGINDLG + 9)
  156. #define IDC_LOGINDLG_PASSWORD_LABEL_DLG1 (IDD_LOGINDLG + 10)
  157. #define IDC_LOGINDLG_PASSWORD_LABEL_DLG2 (IDD_LOGINDLG + 11)
  158. #define IDC_LOGINDLG_NOTES_DLG1 (IDD_LOGINDLG + 12)
  159. #define IDC_LOGINDLG_NOTES_DLG2 (IDD_LOGINDLG + 13)
  160. #define IDC_LOGINDLG_SAVE_PASSWORD (IDD_LOGINDLG + 14)
  161. #define IDC_LOGINDLG_LINK (IDD_LOGINDLG + 15)
  162. #define IDC_LOGINDLG_NOTES_DLG3 (IDD_LOGINDLG + 16)
  163. #define IDC_LOGINDLG_WARNING_ICON (IDD_LOGINDLG + 17)
  164. #define IDD_MOTDDLG 80
  165. #define IDC_MOTDDLG_MESSAGE (IDD_MOTDDLG + 1)
  166. #define IDD_DOWNLOADDIALOG 90
  167. #define IDC_DOWNLOAD_MESSAGE (IDD_DOWNLOADDIALOG + 1)
  168. #define IDC_DOWNLOAD_TITLE (IDD_DOWNLOADDIALOG + 2)
  169. #define IDC_DOWNLOAD_DIR (IDD_DOWNLOADDIALOG + 3)
  170. #define IDC_BROWSE_BUTTON (IDD_DOWNLOADDIALOG + 4)
  171. #define IDC_DOWNLOAD_AS (IDD_DOWNLOADDIALOG + 5)
  172. #define IDC_DOWNLOAD_AS_LIST (IDD_DOWNLOADDIALOG + 6)
  173. #define IDC_DOWNLOAD_BUTTON (IDD_DOWNLOADDIALOG + 7)
  174. #define DLG_MOVECOPYPROGRESS 100
  175. #define IDD_ANIMATE (DLG_MOVECOPYPROGRESS + 1)
  176. #define IDD_NAME (DLG_MOVECOPYPROGRESS + 2)
  177. #define IDD_TONAME (DLG_MOVECOPYPROGRESS + 3)
  178. #define IDD_TIMEEST (DLG_MOVECOPYPROGRESS + 5)
  179. #define IDD_PROBAR (DLG_MOVECOPYPROGRESS + 4)
  180. #define IDD_PROXYDIALOG 110
  181. #define IDC_PROXY_MESSAGE (IDD_PROXYDIALOG + 0)
  182. #define IDD_CHMOD 140
  183. #define IDC_CHMOD_OR (IDD_CHMOD + 0)
  184. #define IDC_CHMOD_OW (IDD_CHMOD + 1)
  185. #define IDC_CHMOD_OE (IDD_CHMOD + 2)
  186. #define IDC_CHMOD_GR (IDD_CHMOD + 3)
  187. #define IDC_CHMOD_GW (IDD_CHMOD + 4)
  188. #define IDC_CHMOD_GE (IDD_CHMOD + 5)
  189. #define IDC_CHMOD_AR (IDD_CHMOD + 6)
  190. #define IDC_CHMOD_AW (IDD_CHMOD + 7)
  191. #define IDC_CHMOD_AE (IDD_CHMOD + 8)
  192. #define IDC_CHMOD_LABEL_EXECUTE (IDD_CHMOD + 9)
  193. #define IDC_CHMOD_LABEL_PERM (IDD_CHMOD + 10)
  194. #define IDC_CHMOD_LABEL_OWNER (IDD_CHMOD + 11)
  195. #define IDC_CHMOD_LABEL_GROUP (IDD_CHMOD + 12)
  196. #define IDC_CHMOD_LABEL_ALL (IDD_CHMOD + 13)
  197. #define IDC_CHMOD_LABEL_READ (IDD_CHMOD + 14)
  198. #define IDC_CHMOD_LABEL_WRITE (IDD_CHMOD + 15)
  199. #define IDC_CHMOD_GROUPBOX (IDD_CHMOD + 16)
  200. #define IDC_CHMOD_LAST (IDD_CHMOD + 16)
  201. #define IDC_CHMOD_NOT_ALLOWED (IDD_CHMOD + 17)
  202. /*****************************************************************************
  203. *
  204. * Column headings (for details view)
  205. *
  206. *****************************************************************************/
  207. #define COL_NAME 0
  208. #define COL_SIZE 1
  209. #define COL_TYPE 2
  210. #define COL_MODIFIED 3
  211. #define COL_MAX 4
  212. #define IDM_SORT_FIRST 0x0030
  213. #define IDM_SORTBYNAME (IDM_SORT_FIRST + 0x0000)
  214. #define IDM_SORTBYSIZE (IDM_SORT_FIRST + 0x0001)
  215. #define IDM_SORTBYTYPE (IDM_SORT_FIRST + 0x0002)
  216. #define IDM_SORTBYDATE (IDM_SORT_FIRST + 0x0003)
  217. #define CONVERT_IDMID_TO_COLNAME(idc) ((idc) - IDM_SORT_FIRST)
  218. #if CONVERT_IDMID_TO_COLNAME(IDM_SORTBYNAME) != COL_NAME || \
  219. CONVERT_IDMID_TO_COLNAME(IDM_SORTBYSIZE) != COL_SIZE || \
  220. CONVERT_IDMID_TO_COLNAME(IDM_SORTBYTYPE) != COL_TYPE || \
  221. CONVERT_IDMID_TO_COLNAME(IDM_SORTBYDATE) != COL_MODIFIED
  222. #error FSIDM_ and ici are out of sync.
  223. #endif
  224. /*****************************************************************************
  225. *
  226. * Strings
  227. *
  228. *****************************************************************************/
  229. /* 0 ... 31 reserved for help text for IDC_ITEM_XXX menu commands */
  230. #define IDS_ITEM_HELP(idc) (idc)
  231. /* 32 .. 39 reserved for title text for iciXXX column indices */
  232. #define IDS_HEADER_NAME(ici) (32+ici)
  233. /* 40 .. 47 reserved for help text for iciXXX column indices */
  234. #define IDS_HEADER_HELP(ici) (40+ici)
  235. /* 64 .. 95 reserved for progress feedback */
  236. #define IDS_EMPTY 64
  237. #define IDS_CONNECTING 65
  238. #define IDS_CHDIR 66
  239. #define IDS_LS 67
  240. #define IDS_DELETING 68
  241. #define IDS_RENAMING 69
  242. #define IDS_GETFINDDATA 70
  243. #define IDS_COPYING 71
  244. #define IDS_DOWNLOADING 72
  245. #define IDS_DL_SRC_DEST 73
  246. #define IDS_COPY_TITLE 74
  247. #define IDS_MOVE_TITLE 75
  248. #define IDS_DELETE_TITLE 76
  249. #define IDS_DOWNLOAD_TITLE 77
  250. #define IDS_DL_TYPE_AUTOMATIC 78
  251. #define IDS_DL_TYPE_ASCII 79
  252. #define IDS_DL_TYPE_BINARY 80
  253. #define IDS_DL_SRC_DIR 81
  254. #define IDA_FTPDOWNLOAD 0x100 // This matches IDA_DOWNLOAD (in shdocvw.dll)
  255. #define IDA_FTPUPLOAD 0x101 // FS->Ftp Animation (in msieftp.dll)
  256. #define IDA_FTPDELETE 0x102 // Ftp->Air (Hard Delete) (in msieftp.dll)
  257. /* 256 onward are just random strings */
  258. #define IDS_NUMBERK 256
  259. #define IDS_NUMBERTB 257
  260. #define IDS_HELP_MSIEFTPTITLE 258
  261. #define IDS_HELP_ABOUTFOLDER 259
  262. #define IDS_HELP_ABOUTBOX 260
  263. #define IDS_HELP_WELCOMEMSGTITLE 261
  264. #define IDS_PROP_SHEET_TITLE 262
  265. #define IDS_PRETTYNAMEFORMAT 263
  266. #define IDS_SEVERAL_SELECTED 264
  267. #define IDS_ELLIPSES 265
  268. #define IDS_NEW_FOLDER_FIRST 266
  269. #define IDS_NEW_FOLDER_TEMPLATE 267
  270. #define IDS_PRETTYNAMEFORMATA 268
  271. #define IDS_CANTSHUTDOWN 280
  272. #define IDS_PROGRESS_CANCEL 282
  273. #define IDS_NO_MESSAGEOFTHEDAY 285
  274. #define IDS_ITEMTYPE_FOLDER 286
  275. #define IDS_ITEMTYPE_SERVER 287
  276. #define IDS_PROGRESS_UPLOADTIMECALC 288
  277. #define IDS_PROGRESS_DELETETIMECALC 289
  278. #define IDS_PROGRESS_DOWNLOADTIMECALC 290
  279. #define IDS_OFFLINE_PROMPTTOGOONLINE 291
  280. #define IDS_RECYCLE_IS_PERM_WARNING 292
  281. // STATUS BAR Strings
  282. // Status Bar Icon ToolTips
  283. // These Text Strings are the tool tips for the icons.
  284. #define IDS_BEGIN_SB_TOOLTIPS 300
  285. #define IDS_WRITE_ALLOWED 300 // This folder has write access
  286. #define IDS_WRITE_NOTALLOWED 301 // This folder does not have read access
  287. // Progress Bar ToolTips
  288. #define IDS_PROG_ZERO 330 // Zero percent.
  289. #define IDS_PROG_NPERCENT 331 // n percent.
  290. #define IDS_PROG_DONE 332 // 100 percent.
  291. // Zones
  292. #define IDS_ZONES_UNKNOWN 340 // Unknown Zone
  293. #define IDS_ZONES_TOOLTIP 341 // Zone Status Bar Pane Tooltip
  294. // User Status Bar Pane
  295. #define IDS_USER_TEMPLATE 350 // "User: <UserName>"
  296. #define IDS_USER_ANNONYMOUS 351 // <UserName> = "Annonymous"
  297. #define IDS_USER_USERTOOLTIP 352 // Info on type of user log-in. (non-Annonymously)
  298. #define IDS_USER_ANNONTOOLTIP 353 // Info on type of user log-in. (Annonymously)
  299. #define IDS_LOGIN_WEBDAVLINK 354 // This is the hyperlink we launch when the user clicks on the WebDAV security link
  300. // FTP Errors
  301. #define IDS_FTPERR_TITLE 400 // Title for Messages.
  302. #define IDS_FTPERR_TITLE_ERROR 401 // Title for Error Messages.
  303. #define IDS_FTPERR_UNKNOWN 402 // Unknown error.
  304. #define IDS_FTPERR_WININET 403 // Prep Wininet Error
  305. #define IDS_FTPERR_WININET_CONTINUE 404 // Prep Wininet Error and ask if user wants to continue
  306. #define IDS_FTPERR_FILECOPY 405 // Error putting file on FTP Server
  307. #define IDS_FTPERR_DIRCOPY 406 // Error Creating a directory on the FTP Server
  308. #define IDS_FTPERR_FILERENAME 407 // Error renaming file on FTP Server
  309. #define IDS_FTPERR_CHANGEDIR 408 // Error opening that folder on the FTP Server
  310. #define IDS_FTPERR_DELETE 409 // Error deleting that folder or file on the FTP Server
  311. #define IDS_FTPERR_OPENFOLDER 410 // Error opening that folder on the FTP Server
  312. #define IDS_FTPERR_FOLDERENUM 411 // Error getting the rest of the file names in the folder on the FTP Server
  313. #define IDS_FTPERR_NEWFOLDER 412 // Error create a new folder on the FTP Server
  314. #define IDS_FTPERR_DROPFAIL 413 // Error dropping a file or folder.
  315. #define IDS_FTPERR_INVALIDFTPNAME 414 // This file name isn't a valid FTP File Name. Maybe unicode.
  316. #define IDS_FTPERR_CREATEDIRPROMPT 415 // The directory doesn't exist, do you want to create it?
  317. #define IDS_FTPERR_CREATEFAILED 416 // Attempting to create the directory failed.
  318. #define IDS_FTPERR_GETDIRLISTING 417 // An error occured reading the contents of the folder
  319. #define IDS_FTPERR_DOWNLOADING 418 // Download failed
  320. #define IDS_FTPERR_RENAME_REPLACE 419 // A file with this name already exists. Do you want to replace that file?
  321. #define IDS_FTPERR_RENAME_EXT_WRN 420 // If you change a filename extension, the file may become unusable.\n\nAre you sure you want to change it?
  322. #define IDS_FTPERR_RENAME_TITLE 421 // Rename title ("Rename")
  323. #define IDS_FTP_PROXY_WARNING 422 // The folder '%s' is currently read-only.\n\nThe proxy server to which you are connected will only enable...
  324. #define IDS_FTPERR_CHMOD 423 // An error occured changing the permissions on the file or folder on the FTP Server. Make sure you have permission to change this item.
  325. #define IDS_FTPERR_BAD_DL_TARGET 424 // Bad dir chosen in SHBrowseForFolder
  326. // Login Dialog Message
  327. #define IDS_LOGIN_LOGINAS 450 //
  328. #define IDS_LOGIN_SERVER 451 //
  329. // Dialog Strings
  330. #define IDS_DLG_DOWNLOAD_TITLE 500 // Title for the 'Choose Download Directory' dialog.
  331. #define IDS_INSTALL_TEMPLATE 700 //
  332. // do not use 701
  333. #define IDS_INSTALL_TEMPLATE_NT5 702 //
  334. // or 703
  335. // HTML dialog resources
  336. #define RT_FILE 2110
  337. #define IDC_MESSAGECHECKEX 0x1202