⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 resource.h

📁 很好用的ftp源码
💻 H
📖 第 1 页 / 共 2 页
字号:
// Resource IDs for FTPFOLDR
//


// This means the control won't have a name.
#define IDC_UNUSED          -1


/*****************************************************************************
 *
 *      Icons
 *
 *****************************************************************************/

//#define IDI_FTPSERVER       1               // Icon for an FTP Server
#define IDI_FTPSERVER       IDI_FTPFOLDER   // Icon for an FTP Server
#define IDI_FTPFOLDER       2               // Icon for a closed folder on a FTP Server
#define IDI_FTPOPENFOLDER   3               // Icon for an open folder on a FTP Server
#define IDI_FTPMULTIDOC     4               // Icon for several ftp items.
#define IDI_DELETEITEM      5               // Delete File
// 2 Holes
#define IDI_REPLACE         8               // File being overwritten
#define IDI_KEY             9               // Key icon for Login As dialog
//#define IDI_NETFOLDER       10              // Folder for Proxy Blocking dialog
#define IDI_NETFOLDER       IDI_FTPFOLDER   // Folder for Proxy Blocking dialog

#define IDI_WRITE_ALLOWED   10              // This folder has write access 
#define IDI_WRITE_NOTALLOWED 11             // This folder does not have read access 

/*****************************************************************************
 *
 *      Menus
 *
 *****************************************************************************/

#define IDM_ITEMCONTEXT         1   // Context menu for items

#define IDM_M_FOLDERVERBS       0   // Verbs only for folders
#define IDM_M_FILEVERBS         1   // Verbs only for files
#define IDM_M_VERBS             2   // Verbs appropriate for all selected items (in addition to above)
#define IDM_M_SHAREDVERBS       3   // Verbs shared with defview (Common Shell verbs that aren't added in Context Menu)
#define IDM_M_BACKGROUNDVERBS   4   // Verbs for the background menu (only when nothing is selected)

#define IDM_M_BACKGROUND_POPUPMERGE     10   // Items that need to be merged with the current menu. (Arrange Items).

#define IDC_ITEM_OPEN           0   // &Open -- folders only
#define IDC_ITEM_EXPLORE        1   // &Explore -- folders only
#define IDC_ITEM_DOWNLOAD       2   // Do&wnload
#define IDC_ITEM_BKGNDPROP      3   // Properties for the background folder.
#define IDC_LOGIN_AS            4   // Login as...
#define IDC_ITEM_NEWFOLDER      5   // New Folder - Background Folder Only

#define IDC_ITEM_ABOUTSITE      6
#define IDC_ITEM_ABOUTFTP       7

#define IDM_SHARED_EDIT_CUT     8
#define IDM_SHARED_EDIT_COPY    9
#define IDM_SHARED_EDIT_PASTE   10
#define IDM_SHARED_FILE_LINK    11
#define IDM_SHARED_FILE_DELETE  12
#define IDM_SHARED_FILE_RENAME  13
#define IDM_SHARED_FILE_PROP    14

#define IDC_ITEM_FTPHELP        15

#define IDC_ITEM_MAX            16

/*****************************************************************************/

#define IDM_FTPMERGE            2    /* Menu bar */

/*
 *  These are biased by SFVIDM_CLIENT_FIRST and can go up to 255.
 *  However, IDM_SORT_* uses 0x30 through 0x3F.
 */
#define IDM_PROPERTIESBG        20

#define IDM_ID_DEBUG            0x40    /* 0x40 through 0x60 */

/*****************************************************************************/

#define IDM_DROPCONTEXT         3   /* Context menu for nondefault d/d */

/*****************************************************************************/

#define IDM_FOLDERCONTEXT       4   /* Context menu for folder background */

#define IDM_FOLDER_NEW          0
#define IDM_FOLDER_PROP         1

/*****************************************************************************\
    Shared dialog IDs

    Use these deltas whenever you want to use FtpDlg_InitDlg to
    initialize a group of controls based on a list of pidls.

    NOTE!  These cannot be an enum because the resource compiler doesn't
    understand enums.
\*****************************************************************************/

#define DLGTEML_FILENAME            0       // Name of file(s)
#define DLGTEML_FILENAMEEDITABLE    1       // Editable filename
#define DLGTEML_FILEICON            2       // Icon for file(s)
#define DLGTEML_FILESIZE            3       // Size of file(s)
#define DLGTEML_FILETIME            4       // Modification time of file(s)
#define DLGTEML_FILETYPE            5       // Type description for file(s)
#define DLGTEML_LOCATION            6       // Location of folder
#define DLGTEML_COUNT               7       // Location of count
#define DLGTEML_MAX                 8

#define DLGTEML_LABEL               20      // The label for an item (DLGTEML_FILENAME) equals (DLGTEML_FILENAME+DLGTEML_LABEL)

/*****************************************************************************
 *
 *      Derived dialog IDs
 *
 *****************************************************************************/

#define IDC_ITEM                110
#define IDC_FILENAME            (IDC_ITEM + DLGTEML_FILENAME)
#define IDC_FILENAME_EDITABLE   (IDC_ITEM + DLGTEML_FILENAMEEDITABLE)
#define IDC_FILEICON            (IDC_ITEM + DLGTEML_FILEICON)
#define IDC_FILESIZE            (IDC_ITEM + DLGTEML_FILESIZE)
#define IDC_FILETIME            (IDC_ITEM + DLGTEML_FILETIME)
#define IDC_FILETYPE            (IDC_ITEM + DLGTEML_FILETYPE)
#define IDC_LOCATION            (IDC_ITEM + DLGTEML_LOCATION)
#define IDC_COUNT               (IDC_ITEM + DLGTEML_COUNT)

#define IDC_FILETIME_LABEL      (IDC_ITEM + DLGTEML_FILETIME + DLGTEML_LABEL)
#define IDC_FILESIZE_LABEL      (IDC_ITEM + DLGTEML_FILESIZE + DLGTEML_LABEL)

#define IDC_ITEM2               120
#define IDC_FILENAME2           (IDC_ITEM2 + DLGTEML_FILENAME)
#define IDC_FILENAME_EDITABLE2  (IDC_ITEM2 + DLGTEML_FILENAMEEDITABLE)
#define IDC_FILEICON2           (IDC_ITEM2 + DLGTEML_FILEICON)
#define IDC_FILESIZE2           (IDC_ITEM2 + DLGTEML_FILESIZE)
#define IDC_FILETIME2           (IDC_ITEM2 + DLGTEML_FILETIME)
#define IDC_FILETYPE2           (IDC_ITEM2 + DLGTEML_FILETYPE)
#define IDC_LOCATION2           (IDC_ITEM2 + DLGTEML_LOCATION)
#define IDC_COUNT2              (IDC_ITEM2 + DLGTEML_COUNT)

#define IDC_FILETIME2_LABEL     (IDC_ITEM2 + DLGTEML_FILETIME + DLGTEML_LABEL)
#define IDC_FILESIZE2_LABEL     (IDC_ITEM2 + DLGTEML_FILESIZE + DLGTEML_LABEL)

/*****************************************************************************
 *
 *      Dialogs (and dialog controls)
 *
 *****************************************************************************/

#define IDD_REPLACE             1       /* File being overwritten */

#define IDC_REPLACE_YES         IDYES   /* Overwrite it */
#define IDC_REPLACE_YESTOALL    32      /* Overwrite it and everything else */
#define IDC_REPLACE_NO          IDNO    /* Skip this file */
#define IDC_REPLACE_NOTOALL     33      /* Skip all files that conflict */
#define IDC_REPLACE_CANCEL      IDCANCEL /* Stop copying */

#define IDC_REPLACE_OLDFILE     35      /* Description of old file */
#define IDC_REPLACE_NEWFILE     37      /* Description of new file */
#define IDC_REPLACE_NEWICON     38      /* Icon of new file */

/*****************************************************************************/

#define IDD_DELETEFILE          2       /* File being deleted */
#define IDD_DELETEFOLDER        3       /* Folder being deleted */
#define IDD_DELETEMULTI         4       /* Files/Folders being deleted */

/*****************************************************************************/

#define IDD_FILEPROP            32
#define IDC_READONLY            7

// Some items in the Login Dialog are the same across all three dialogs,
// but some change.
// These are the items that are all the same.
#define IDD_LOGINDLG                        40
#define IDC_LOGINDLG_FTPSERVER              (IDD_LOGINDLG + 1)
#define IDC_LOGINDLG_ANONYMOUS_CBOX         (IDD_LOGINDLG + 2)

// These are the items that are different.
#define IDC_LOGINDLG_USERNAME               (IDD_LOGINDLG + 3)
#define IDC_LOGINDLG_USERNAME_ANON          (IDD_LOGINDLG + 4)
#define IDC_LOGINDLG_MESSAGE_ANONREJECT     (IDD_LOGINDLG + 5)
#define IDC_LOGINDLG_MESSAGE_NORMAL         (IDD_LOGINDLG + 6)
#define IDC_LOGINDLG_MESSAGE_USERREJECT     (IDD_LOGINDLG + 7)
#define IDC_LOGINDLG_PASSWORD_DLG1          (IDD_LOGINDLG + 8)
#define IDC_LOGINDLG_PASSWORD_DLG2          (IDD_LOGINDLG + 9)
#define IDC_LOGINDLG_PASSWORD_LABEL_DLG1    (IDD_LOGINDLG + 10)
#define IDC_LOGINDLG_PASSWORD_LABEL_DLG2    (IDD_LOGINDLG + 11)
#define IDC_LOGINDLG_NOTES_DLG1             (IDD_LOGINDLG + 12)
#define IDC_LOGINDLG_NOTES_DLG2             (IDD_LOGINDLG + 13)
#define IDC_LOGINDLG_SAVE_PASSWORD          (IDD_LOGINDLG + 14)



#define IDD_MOTDDLG                         80
#define IDC_MOTDDLG_MESSAGE                 (IDD_MOTDDLG + 1)

#define IDD_DOWNLOADDIALOG                  90
#define IDC_DOWNLOAD_MESSAGE                (IDD_DOWNLOADDIALOG + 1)
#define IDC_DOWNLOAD_TITLE                  (IDD_DOWNLOADDIALOG + 2)
#define IDC_DOWNLOAD_DIR                    (IDD_DOWNLOADDIALOG + 3)
#define IDC_BROWSE_BUTTON                   (IDD_DOWNLOADDIALOG + 4)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -