https://git.reactos.org/?p=reactos.git;a=commitdiff;h=eb1912b15f9a7342c61b19d5ed9d226712f76fed

commit eb1912b15f9a7342c61b19d5ed9d226712f76fed
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Fri Jun 29 04:51:37 2018 +0900
Commit:     Hermès BÉLUSCA - MAÏTO <[email protected]>
CommitDate: Thu Jun 28 21:51:37 2018 +0200

    [SHELL32] Initial implementation of Folder Customization (#642)
    
    - Add property sheet;
    - Implement changing the folder icon.
    CORE-11407
---
 dll/win32/shell32/dialogs/filedefext.cpp | 255 +++++++++++++++++++++++++++++++
 dll/win32/shell32/dialogs/filedefext.h   |  14 ++
 dll/win32/shell32/lang/bg-BG.rc          |  21 +++
 dll/win32/shell32/lang/ca-ES.rc          |  21 +++
 dll/win32/shell32/lang/cs-CZ.rc          |  21 +++
 dll/win32/shell32/lang/da-DK.rc          |  21 +++
 dll/win32/shell32/lang/de-DE.rc          |  21 +++
 dll/win32/shell32/lang/el-GR.rc          |  21 +++
 dll/win32/shell32/lang/en-GB.rc          |  21 +++
 dll/win32/shell32/lang/en-US.rc          |  21 +++
 dll/win32/shell32/lang/es-ES.rc          |  21 +++
 dll/win32/shell32/lang/et-EE.rc          |  21 +++
 dll/win32/shell32/lang/fi-FI.rc          |  21 +++
 dll/win32/shell32/lang/fr-FR.rc          |  21 +++
 dll/win32/shell32/lang/he-IL.rc          |  21 +++
 dll/win32/shell32/lang/hu-HU.rc          |  21 +++
 dll/win32/shell32/lang/it-IT.rc          |  21 +++
 dll/win32/shell32/lang/ja-JP.rc          |  21 +++
 dll/win32/shell32/lang/ko-KR.rc          |  21 +++
 dll/win32/shell32/lang/nl-NL.rc          |  21 +++
 dll/win32/shell32/lang/no-NO.rc          |  21 +++
 dll/win32/shell32/lang/pl-PL.rc          |  21 +++
 dll/win32/shell32/lang/pt-BR.rc          |  21 +++
 dll/win32/shell32/lang/pt-PT.rc          |  21 +++
 dll/win32/shell32/lang/ro-RO.rc          |  21 +++
 dll/win32/shell32/lang/ru-RU.rc          |  21 +++
 dll/win32/shell32/lang/sk-SK.rc          |  21 +++
 dll/win32/shell32/lang/sl-SI.rc          |  21 +++
 dll/win32/shell32/lang/sq-AL.rc          |  21 +++
 dll/win32/shell32/lang/sv-SE.rc          |  21 +++
 dll/win32/shell32/lang/tr-TR.rc          |  21 +++
 dll/win32/shell32/lang/uk-UA.rc          |  21 +++
 dll/win32/shell32/lang/zh-CN.rc          |  21 +++
 dll/win32/shell32/lang/zh-TW.rc          |  21 +++
 dll/win32/shell32/shresdef.h             |  10 ++
 35 files changed, 951 insertions(+)

diff --git a/dll/win32/shell32/dialogs/filedefext.cpp 
b/dll/win32/shell32/dialogs/filedefext.cpp
index 8ac8c62998..2065e4ef05 100644
--- a/dll/win32/shell32/dialogs/filedefext.cpp
+++ b/dll/win32/shell32/dialogs/filedefext.cpp
@@ -885,11 +885,256 @@ CFileDefExt::VersionPageProc(HWND hwndDlg, UINT uMsg, 
WPARAM wParam, LPARAM lPar
     return FALSE;
 }
 
+/*************************************************************************/
+/* Folder Customize */
+
+static const WCHAR s_szShellClassInfo[] = L".ShellClassInfo";
+static const WCHAR s_szIconIndex[] = L"IconIndex";
+static const WCHAR s_szIconFile[] = L"IconFile";
+static const WCHAR s_szIconResource[] = L"IconResource";
+
+// IDD_FOLDER_CUSTOMIZE
+INT_PTR CALLBACK
+CFileDefExt::FolderCustomizePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, 
LPARAM lParam)
+{
+    CFileDefExt *pFileDefExt = reinterpret_cast<CFileDefExt 
*>(GetWindowLongPtr(hwndDlg, DWLP_USER));
+    switch (uMsg)
+    {
+        case WM_INITDIALOG:
+        {
+            LPPROPSHEETPAGE ppsp = (LPPROPSHEETPAGE)lParam;
+
+            if (ppsp == NULL || !ppsp->lParam)
+                break;
+
+            TRACE("WM_INITDIALOG hwnd %p lParam %p ppsplParam %x\n", hwndDlg, 
lParam, ppsp->lParam);
+
+            pFileDefExt = reinterpret_cast<CFileDefExt *>(ppsp->lParam);
+            return pFileDefExt->InitFolderCustomizePage(hwndDlg);
+        }
+
+        case WM_COMMAND:
+            switch (LOWORD(wParam))
+            {
+                case IDC_FOLDERCUST_CHANGE_ICON:
+                    pFileDefExt->OnFolderCustChangeIcon(hwndDlg);
+                    break;
+
+                case IDC_FOLDERCUST_CHOOSE_PIC:
+                    // TODO:
+                    break;
+
+                case IDC_FOLDERCUST_RESTORE_DEFAULTS:
+                    // TODO:
+                    break;
+            }
+            break;
+
+        case WM_NOTIFY:
+        {
+            LPPSHNOTIFY lppsn = (LPPSHNOTIFY)lParam;
+            if (lppsn->hdr.code == PSN_APPLY)
+            {
+                // apply or not
+                if (pFileDefExt->OnFolderCustApply(hwndDlg))
+                {
+                    SetWindowLongPtr(hwndDlg, DWLP_MSGRESULT, PSNRET_NOERROR);
+                }
+                else
+                {
+                    SetWindowLongPtr(hwndDlg, DWLP_MSGRESULT, 
PSNRET_INVALID_NOCHANGEPAGE);
+                }
+                return TRUE;
+            }
+            break;
+        }
+
+        case WM_DESTROY:
+            pFileDefExt->OnFolderCustDestroy(hwndDlg);
+            break;
+
+        default:
+            break;
+    }
+
+    return FALSE;
+}
+
+// IDD_FOLDER_CUSTOMIZE WM_DESTROY
+void CFileDefExt::OnFolderCustDestroy(HWND hwndDlg)
+{
+    ::DestroyIcon(m_hFolderIcon);
+    m_hFolderIcon = NULL;
+
+    /* Detach the object from dialog window */
+    SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)0);
+}
+
+void CFileDefExt::UpdateFolderIcon(HWND hwndDlg)
+{
+    // destroy icon if any
+    if (m_hFolderIcon)
+    {
+        ::DestroyIcon(m_hFolderIcon);
+        m_hFolderIcon = NULL;
+    }
+
+    // create the icon
+    if (m_szFolderIconPath[0] == 0 && m_nFolderIconIndex == 0)
+    {
+        m_hFolderIcon = LoadIconW(shell32_hInstance, 
MAKEINTRESOURCEW(IDI_SHELL_FOLDER));
+    }
+    else
+    {
+        ExtractIconExW(m_szFolderIconPath, m_nFolderIconIndex, &m_hFolderIcon, 
NULL, 1);
+    }
+
+    // set icon
+    SendDlgItemMessageW(hwndDlg, IDC_FOLDERCUST_ICON, STM_SETICON, 
(WPARAM)m_hFolderIcon, 0);
+}
+
+// IDD_FOLDER_CUSTOMIZE WM_INITDIALOG
+BOOL CFileDefExt::InitFolderCustomizePage(HWND hwndDlg)
+{
+    /* Attach the object to dialog window */
+    SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)this);
+
+    EnableWindow(GetDlgItem(hwndDlg, IDC_FOLDERCUST_COMBOBOX), FALSE);
+    EnableWindow(GetDlgItem(hwndDlg, IDC_FOLDERCUST_CHECKBOX), FALSE);
+    EnableWindow(GetDlgItem(hwndDlg, IDC_FOLDERCUST_CHOOSE_PIC), FALSE);
+    EnableWindow(GetDlgItem(hwndDlg, IDC_FOLDERCUST_RESTORE_DEFAULTS), FALSE);
+
+    // build the desktop.ini file path
+    WCHAR szIniFile[MAX_PATH];
+    StringCchCopyW(szIniFile, _countof(szIniFile), m_wszPath);
+    PathAppendW(szIniFile, L"desktop.ini");
+
+    // desktop.ini --> m_szFolderIconPath, m_nFolderIconIndex
+    m_szFolderIconPath[0] = 0;
+    m_nFolderIconIndex = 0;
+    if (GetPrivateProfileStringW(s_szShellClassInfo, s_szIconFile, NULL,
+                                 m_szFolderIconPath, 
_countof(m_szFolderIconPath), szIniFile))
+    {
+        m_nFolderIconIndex = GetPrivateProfileIntW(s_szShellClassInfo, 
s_szIconIndex, 0, szIniFile);
+    }
+    else if (GetPrivateProfileStringW(s_szShellClassInfo, s_szIconResource, 
NULL,
+                                      m_szFolderIconPath, 
_countof(m_szFolderIconPath), szIniFile))
+    {
+        m_nFolderIconIndex = PathParseIconLocationW(m_szFolderIconPath);
+    }
+
+    // update icon
+    UpdateFolderIcon(hwndDlg);
+
+    return TRUE;
+}
+
+// IDD_FOLDER_CUSTOMIZE IDC_FOLDERCUST_CHANGE_ICON
+void CFileDefExt::OnFolderCustChangeIcon(HWND hwndDlg)
+{
+    WCHAR szPath[MAX_PATH];
+    INT nIconIndex;
+
+    // m_szFolderIconPath, m_nFolderIconIndex --> szPath, nIconIndex
+    if (m_szFolderIconPath[0])
+    {
+        StringCchCopyW(szPath, _countof(szPath), m_szFolderIconPath);
+        nIconIndex = m_nFolderIconIndex;
+    }
+    else
+    {
+        szPath[0] = 0;
+        nIconIndex = 0;
+    }
+
+    // let the user choose the icon
+    if (PickIconDlg(hwndDlg, szPath, _countof(szPath), &nIconIndex))
+    {
+        // changed
+        m_bFolderIconIsSet = TRUE;
+        PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
+
+        // update
+        StringCchCopyW(m_szFolderIconPath, _countof(m_szFolderIconPath), 
szPath);
+        m_nFolderIconIndex = nIconIndex;
+        UpdateFolderIcon(hwndDlg);
+    }
+}
+
+// IDD_FOLDER_CUSTOMIZE PSN_APPLY
+BOOL CFileDefExt::OnFolderCustApply(HWND hwndDlg)
+{
+    // build the desktop.ini file path
+    WCHAR szIniFile[MAX_PATH];
+    StringCchCopyW(szIniFile, _countof(szIniFile), m_wszPath);
+    PathAppendW(szIniFile, L"desktop.ini");
+
+    if (m_bFolderIconIsSet)     // it is set!
+    {
+        DWORD attrs;
+
+        // change folder attributes (-S -R)
+        attrs = GetFileAttributesW(m_wszPath);
+        attrs &= ~(FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_READONLY);
+        SetFileAttributesW(m_wszPath, attrs);
+
+        // change desktop.ini attributes (-S -H -R)
+        attrs = GetFileAttributesW(szIniFile);
+        attrs &= ~(FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_HIDDEN | 
FILE_ATTRIBUTE_READONLY);
+        SetFileAttributesW(szIniFile, attrs);
+
+        if (m_szFolderIconPath[0])
+        {
+            // write IconFile and IconIndex
+            WritePrivateProfileStringW(s_szShellClassInfo, s_szIconFile, 
m_szFolderIconPath, szIniFile);
+
+            WCHAR szInt[32];
+            StringCchPrintfW(szInt, _countof(szInt), L"%d", 
m_nFolderIconIndex);
+            WritePrivateProfileStringW(s_szShellClassInfo, s_szIconIndex, 
szInt, szIniFile);
+
+            // flush!
+            WritePrivateProfileStringW(NULL, NULL, NULL, szIniFile);
+        }
+        else
+        {
+            // erase three values
+            WritePrivateProfileStringW(s_szShellClassInfo, s_szIconFile, NULL, 
szIniFile);
+            WritePrivateProfileStringW(s_szShellClassInfo, s_szIconIndex, 
NULL, szIniFile);
+            WritePrivateProfileStringW(s_szShellClassInfo, s_szIconResource, 
NULL, szIniFile);
+
+            // flush!
+            WritePrivateProfileStringW(NULL, NULL, NULL, szIniFile);
+        }
+
+        // change desktop.ini attributes (+S +H)
+        attrs = GetFileAttributesW(szIniFile);
+        attrs |= FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_HIDDEN;
+        SetFileAttributesW(szIniFile, attrs);
+
+        // change folder attributes (+R)
+        attrs = GetFileAttributesW(m_wszPath);
+        attrs |= FILE_ATTRIBUTE_READONLY;
+        SetFileAttributesW(m_wszPath, attrs);
+
+        // done!
+        m_bFolderIconIsSet = FALSE;
+    }
+
+    return TRUE;
+}
+
+/*****************************************************************************/
+
 CFileDefExt::CFileDefExt():
     m_bDir(FALSE), m_cFiles(0), m_cFolders(0)
 {
     m_wszPath[0] = L'\0';
     m_DirSize.QuadPart = 0ull;
+
+    m_szFolderIconPath[0] = 0;
+    m_nFolderIconIndex = 0;
+    m_hFolderIcon = NULL;
+    m_bFolderIconIsSet = FALSE;
 }
 
 CFileDefExt::~CFileDefExt()
@@ -980,6 +1225,16 @@ CFileDefExt::AddPages(LPFNADDPROPSHEETPAGE pfnAddPage, 
LPARAM lParam)
             pfnAddPage(hPage, lParam);
     }
 
+    if (m_bDir)
+    {
+        hPage = SH_CreatePropertySheetPage(IDD_FOLDER_CUSTOMIZE,
+                                           FolderCustomizePageProc,
+                                           (LPARAM)this,
+                                           NULL);
+        if (hPage)
+            pfnAddPage(hPage, lParam);
+    }
+
     return S_OK;
 }
 
diff --git a/dll/win32/shell32/dialogs/filedefext.h 
b/dll/win32/shell32/dialogs/filedefext.h
index 4a1c710065..31a513e2ee 100644
--- a/dll/win32/shell32/dialogs/filedefext.h
+++ b/dll/win32/shell32/dialogs/filedefext.h
@@ -71,8 +71,10 @@ private:
     BOOL SetVersionLabel(HWND hwndDlg, DWORD idCtrl, LPCWSTR pwszName);
     BOOL AddVersionString(HWND hwndDlg, LPCWSTR pwszName);
     BOOL InitVersionPage(HWND hwndDlg);
+    BOOL InitFolderCustomizePage(HWND hwndDlg);
     static INT_PTR CALLBACK GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM 
wParam, LPARAM lParam);
        static INT_PTR CALLBACK VersionPageProc(HWND hwndDlg, UINT uMsg, WPARAM 
wParam, LPARAM lParam);
+       static INT_PTR CALLBACK FolderCustomizePageProc(HWND hwndDlg, UINT 
uMsg, WPARAM wParam, LPARAM lParam);
        BOOL CountFolderAndFiles(HWND hwndDlg, LPWSTR pwszBuf, UINT cchBufMax, 
LPDWORD ticks);
 
        WCHAR m_wszPath[MAX_PATH];
@@ -85,10 +87,22 @@ private:
 
     static DWORD WINAPI _CountFolderAndFilesThreadProc(LPVOID lpParameter);
 
+    // FolderCustomize
+    WCHAR   m_szFolderIconPath[MAX_PATH];
+    INT     m_nFolderIconIndex;
+    HICON   m_hFolderIcon;
+    BOOL    m_bFolderIconIsSet;
+
 public:
        CFileDefExt();
        ~CFileDefExt();
 
+    // FolderCustomize
+    BOOL OnFolderCustApply(HWND hwndDlg);
+    void OnFolderCustChangeIcon(HWND hwndDlg);
+    void OnFolderCustDestroy(HWND hwndDlg);
+    void UpdateFolderIcon(HWND hwndDlg);
+
        // IShellExtInit
        virtual HRESULT STDMETHODCALLTYPE Initialize(LPCITEMIDLIST pidlFolder, 
IDataObject *pdtobj, HKEY hkeyProgID);
 
diff --git a/dll/win32/shell32/lang/bg-BG.rc b/dll/win32/shell32/lang/bg-BG.rc
index a0b68c49c4..7ba087f495 100644
--- a/dll/win32/shell32/lang/bg-BG.rc
+++ b/dll/win32/shell32/lang/bg-BG.rc
@@ -692,6 +692,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/ca-ES.rc b/dll/win32/shell32/lang/ca-ES.rc
index 95f9cc776e..87d75b207c 100644
--- a/dll/win32/shell32/lang/ca-ES.rc
+++ b/dll/win32/shell32/lang/ca-ES.rc
@@ -691,6 +691,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/cs-CZ.rc b/dll/win32/shell32/lang/cs-CZ.rc
index eaf95dd9b3..8886b98159 100644
--- a/dll/win32/shell32/lang/cs-CZ.rc
+++ b/dll/win32/shell32/lang/cs-CZ.rc
@@ -697,6 +697,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/da-DK.rc b/dll/win32/shell32/lang/da-DK.rc
index e119183090..0eb0780f69 100644
--- a/dll/win32/shell32/lang/da-DK.rc
+++ b/dll/win32/shell32/lang/da-DK.rc
@@ -697,6 +697,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/de-DE.rc b/dll/win32/shell32/lang/de-DE.rc
index 186b4daeed..2244de12db 100644
--- a/dll/win32/shell32/lang/de-DE.rc
+++ b/dll/win32/shell32/lang/de-DE.rc
@@ -692,6 +692,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/el-GR.rc b/dll/win32/shell32/lang/el-GR.rc
index 7160496c3f..6e04f6af6f 100644
--- a/dll/win32/shell32/lang/el-GR.rc
+++ b/dll/win32/shell32/lang/el-GR.rc
@@ -691,6 +691,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/en-GB.rc b/dll/win32/shell32/lang/en-GB.rc
index 28364b60cd..55093b2be2 100644
--- a/dll/win32/shell32/lang/en-GB.rc
+++ b/dll/win32/shell32/lang/en-GB.rc
@@ -691,6 +691,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/en-US.rc b/dll/win32/shell32/lang/en-US.rc
index 8b3277d356..a2dd042363 100644
--- a/dll/win32/shell32/lang/en-US.rc
+++ b/dll/win32/shell32/lang/en-US.rc
@@ -692,6 +692,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/es-ES.rc b/dll/win32/shell32/lang/es-ES.rc
index be37170990..bc1f9ea1af 100644
--- a/dll/win32/shell32/lang/es-ES.rc
+++ b/dll/win32/shell32/lang/es-ES.rc
@@ -693,6 +693,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/et-EE.rc b/dll/win32/shell32/lang/et-EE.rc
index da98d936c7..422863cfcf 100644
--- a/dll/win32/shell32/lang/et-EE.rc
+++ b/dll/win32/shell32/lang/et-EE.rc
@@ -699,6 +699,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/fi-FI.rc b/dll/win32/shell32/lang/fi-FI.rc
index ca9a0eda15..d60d367e18 100644
--- a/dll/win32/shell32/lang/fi-FI.rc
+++ b/dll/win32/shell32/lang/fi-FI.rc
@@ -691,6 +691,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/fr-FR.rc b/dll/win32/shell32/lang/fr-FR.rc
index 58f991f1be..7f5aef691e 100644
--- a/dll/win32/shell32/lang/fr-FR.rc
+++ b/dll/win32/shell32/lang/fr-FR.rc
@@ -691,6 +691,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/he-IL.rc b/dll/win32/shell32/lang/he-IL.rc
index 2d40a8f1e4..3d8d1a6246 100644
--- a/dll/win32/shell32/lang/he-IL.rc
+++ b/dll/win32/shell32/lang/he-IL.rc
@@ -691,6 +691,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/hu-HU.rc b/dll/win32/shell32/lang/hu-HU.rc
index edeaea40d2..583dc6d883 100644
--- a/dll/win32/shell32/lang/hu-HU.rc
+++ b/dll/win32/shell32/lang/hu-HU.rc
@@ -691,6 +691,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/it-IT.rc b/dll/win32/shell32/lang/it-IT.rc
index ad7d311521..4ab9e804fc 100644
--- a/dll/win32/shell32/lang/it-IT.rc
+++ b/dll/win32/shell32/lang/it-IT.rc
@@ -691,6 +691,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/ja-JP.rc b/dll/win32/shell32/lang/ja-JP.rc
index a9368a78c6..c58f52181b 100644
--- a/dll/win32/shell32/lang/ja-JP.rc
+++ b/dll/win32/shell32/lang/ja-JP.rc
@@ -688,6 +688,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 9, "MS UI Gothic"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/ko-KR.rc b/dll/win32/shell32/lang/ko-KR.rc
index ca1ae4f008..0ab6955762 100644
--- a/dll/win32/shell32/lang/ko-KR.rc
+++ b/dll/win32/shell32/lang/ko-KR.rc
@@ -691,6 +691,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 9, "굴림"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/nl-NL.rc b/dll/win32/shell32/lang/nl-NL.rc
index daf6033a27..550d927d0c 100644
--- a/dll/win32/shell32/lang/nl-NL.rc
+++ b/dll/win32/shell32/lang/nl-NL.rc
@@ -691,6 +691,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/no-NO.rc b/dll/win32/shell32/lang/no-NO.rc
index 72cf948cf8..b748c18512 100644
--- a/dll/win32/shell32/lang/no-NO.rc
+++ b/dll/win32/shell32/lang/no-NO.rc
@@ -691,6 +691,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/pl-PL.rc b/dll/win32/shell32/lang/pl-PL.rc
index 1dbc90695b..46a9649a95 100644
--- a/dll/win32/shell32/lang/pl-PL.rc
+++ b/dll/win32/shell32/lang/pl-PL.rc
@@ -696,6 +696,27 @@ BEGIN
     PUSHBUTTON "Anuluj", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/pt-BR.rc b/dll/win32/shell32/lang/pt-BR.rc
index c1cc8ebcd6..73c1d34bf8 100644
--- a/dll/win32/shell32/lang/pt-BR.rc
+++ b/dll/win32/shell32/lang/pt-BR.rc
@@ -691,6 +691,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/pt-PT.rc b/dll/win32/shell32/lang/pt-PT.rc
index 0b5331b475..9dd6b0c7b0 100644
--- a/dll/win32/shell32/lang/pt-PT.rc
+++ b/dll/win32/shell32/lang/pt-PT.rc
@@ -691,6 +691,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/ro-RO.rc b/dll/win32/shell32/lang/ro-RO.rc
index 692ad17b66..28bb92004f 100644
--- a/dll/win32/shell32/lang/ro-RO.rc
+++ b/dll/win32/shell32/lang/ro-RO.rc
@@ -693,6 +693,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/ru-RU.rc b/dll/win32/shell32/lang/ru-RU.rc
index a14c15af4e..6c4e7a91c5 100644
--- a/dll/win32/shell32/lang/ru-RU.rc
+++ b/dll/win32/shell32/lang/ru-RU.rc
@@ -693,6 +693,27 @@ BEGIN
     PUSHBUTTON "Отмена", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/sk-SK.rc b/dll/win32/shell32/lang/sk-SK.rc
index 82c3fff2dd..5c1033d23a 100644
--- a/dll/win32/shell32/lang/sk-SK.rc
+++ b/dll/win32/shell32/lang/sk-SK.rc
@@ -691,6 +691,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/sl-SI.rc b/dll/win32/shell32/lang/sl-SI.rc
index 194984c2d0..a8d4843d16 100644
--- a/dll/win32/shell32/lang/sl-SI.rc
+++ b/dll/win32/shell32/lang/sl-SI.rc
@@ -691,6 +691,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/sq-AL.rc b/dll/win32/shell32/lang/sq-AL.rc
index d30e49facc..de4d8dcef9 100644
--- a/dll/win32/shell32/lang/sq-AL.rc
+++ b/dll/win32/shell32/lang/sq-AL.rc
@@ -695,6 +695,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/sv-SE.rc b/dll/win32/shell32/lang/sv-SE.rc
index 16cfbea80f..79ccef9cc1 100644
--- a/dll/win32/shell32/lang/sv-SE.rc
+++ b/dll/win32/shell32/lang/sv-SE.rc
@@ -691,6 +691,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/tr-TR.rc b/dll/win32/shell32/lang/tr-TR.rc
index de2688eb51..0bd46bbc88 100644
--- a/dll/win32/shell32/lang/tr-TR.rc
+++ b/dll/win32/shell32/lang/tr-TR.rc
@@ -693,6 +693,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/uk-UA.rc b/dll/win32/shell32/lang/uk-UA.rc
index f7c390b2b4..1ae5fa95de 100644
--- a/dll/win32/shell32/lang/uk-UA.rc
+++ b/dll/win32/shell32/lang/uk-UA.rc
@@ -691,6 +691,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 8, "MS Shell Dlg"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/zh-CN.rc b/dll/win32/shell32/lang/zh-CN.rc
index a0ac5f220c..7a91360d76 100644
--- a/dll/win32/shell32/lang/zh-CN.rc
+++ b/dll/win32/shell32/lang/zh-CN.rc
@@ -699,6 +699,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 9, "宋体"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/lang/zh-TW.rc b/dll/win32/shell32/lang/zh-TW.rc
index 5dc86e8fa3..58fdc657ff 100644
--- a/dll/win32/shell32/lang/zh-TW.rc
+++ b/dll/win32/shell32/lang/zh-TW.rc
@@ -699,6 +699,27 @@ BEGIN
     PUSHBUTTON "Cancel", IDCANCEL, 160, 40, 60, 14
 END
 
+IDD_FOLDER_CUSTOMIZE DIALOGEX 0, 0, 240, 250
+CAPTION "Customize"
+STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
+FONT 9, "新細明體"
+BEGIN
+    GROUPBOX "What kind of folder do you want?", IDC_STATIC, 5, 5, 230, 65, 
WS_TABSTOP
+    LTEXT "Use this &folder type as a template:", IDC_STATIC, 15, 20, 210, 12
+    COMBOBOX IDC_FOLDERCUST_COMBOBOX, 15, 35, 210, 300, CBS_HASSTRINGS | 
CBS_AUTOHSCROLL | CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    AUTOCHECKBOX "Also apply this template to all &subfolders", 
IDC_FOLDERCUST_CHECKBOX, 15, 50, 210, 15
+    GROUPBOX "Folder pictures", IDC_STATIC, 5, 75, 230, 90, WS_TABSTOP
+    LTEXT "For Thumbnails view, you can put a picture on this folder to remind 
you of the contents.", IDC_STATIC, 15, 87, 115, 33
+    PUSHBUTTON "Choose &Picture...", IDC_FOLDERCUST_CHOOSE_PIC, 15, 125, 115, 
15
+    PUSHBUTTON "&Restore Default", IDC_FOLDERCUST_RESTORE_DEFAULTS, 15, 144, 
115, 15
+    LTEXT "Preview:", IDC_STATIC, 139, 85, 81, 11
+    CONTROL "", IDC_FOLDERCUST_PREVIEW_BITMAP, "STATIC", SS_BITMAP | WS_GROUP, 
150, 100, 60, 60
+    GROUPBOX "Folder icons", IDC_STATIC, 5, 170, 230, 65, WS_TABSTOP
+    LTEXT "For all views except Thumbnails, you can change the standard 
""folder"" icon to another icon.", IDC_STATIC, 15, 180, 210, 25
+    ICON 0, IDC_FOLDERCUST_ICON, 175, 210, 32, 30
+    PUSHBUTTON "Change &Icon...", IDC_FOLDERCUST_CHANGE_ICON, 15, 210, 75, 15, 
BS_MULTILINE
+END
+
 STRINGTABLE
 BEGIN
     /* columns in the shellview */
diff --git a/dll/win32/shell32/shresdef.h b/dll/win32/shell32/shresdef.h
index 483c9c88de..037d1fc0be 100644
--- a/dll/win32/shell32/shresdef.h
+++ b/dll/win32/shell32/shresdef.h
@@ -434,6 +434,16 @@
 #define IDD_NEWEXTENSION 28
 #define IDD_EDITTYPE     36
 #define IDD_ACTION       37
+#define IDD_FOLDER_CUSTOMIZE    38
+
+/* Control IDs for IDD_FOLDER_CUSTOMIZE dialog */
+#define IDC_FOLDERCUST_COMBOBOX             14001
+#define IDC_FOLDERCUST_CHECKBOX             14002
+#define IDC_FOLDERCUST_CHOOSE_PIC           14003
+#define IDC_FOLDERCUST_RESTORE_DEFAULTS     14004
+#define IDC_FOLDERCUST_PREVIEW_BITMAP       14005
+#define IDC_FOLDERCUST_ICON                 14006
+#define IDC_FOLDERCUST_CHANGE_ICON          14007
 
 /* Not used dialogs */
 #define IDD_SHUTDOWN             29

Reply via email to