mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 20:50:41 +00:00
[SHELL32] Delete IDM_RECENTMENUHEAD resource menu (#2705)
Follow-up of #2648. Reduce translation cost and resource data. CORE-3588, CORE-11483
This commit is contained in:
parent
d62b1a9ce5
commit
77b8505393
36 changed files with 31 additions and 390 deletions
|
@ -89,16 +89,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Търсене на папка"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Browse for Folder"
|
||||
|
|
|
@ -94,16 +94,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Procházet..."
|
||||
|
|
|
@ -94,16 +94,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Søg efter Mappe"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Verzeichnis auswählen"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Αναζήτηση φακέλου"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Browse for Folder"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Browse for Folder"
|
||||
|
|
|
@ -97,16 +97,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Explorar carpeta"
|
||||
|
|
|
@ -95,16 +95,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Vali kaust"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Valitse Kansio"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Parcourir"
|
||||
|
|
|
@ -90,16 +90,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "בחירת תיקיה"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "फोल्डर खोंजे"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Mappák böngészése"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Jelajah Folder"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Sfoglia Cartella"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "フォルダの参照"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Browse for Folder"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Browse for Folder"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Bla etter mappe"
|
||||
|
|
|
@ -94,16 +94,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "Moje dokumenty", IDM_MYDOCUMENTS
|
||||
MENUITEM "Moje obrazy", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Wybierz folder"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Procurar pasta"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Procurar pastas"
|
||||
|
|
|
@ -90,16 +90,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Specificare dosar"
|
||||
|
|
|
@ -95,16 +95,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Обзор"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Browse for Folder"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Browse for Folder"
|
||||
|
|
|
@ -92,16 +92,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Shfleto për Dosje"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Bläddra efter mapp"
|
||||
|
|
|
@ -90,16 +90,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Dizin İçin Göz At"
|
||||
|
|
|
@ -88,16 +88,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Огляд папок"
|
||||
|
|
|
@ -98,16 +98,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "浏览文件夹"
|
||||
|
|
|
@ -97,16 +97,6 @@ BEGIN
|
|||
END
|
||||
END
|
||||
|
||||
IDM_RECENTMENUHEAD MENU
|
||||
BEGIN
|
||||
POPUP ""
|
||||
BEGIN
|
||||
MENUITEM "My Documents", IDM_MYDOCUMENTS
|
||||
MENUITEM "My Pictures", IDM_MYPICTURES
|
||||
MENUITEM SEPARATOR
|
||||
END
|
||||
END
|
||||
|
||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "瀏覽資料夾"
|
||||
|
|
|
@ -69,7 +69,6 @@ private:
|
|||
CComPtr<IShellFolder> m_psfPrograms;
|
||||
|
||||
LPITEMIDLIST m_pidlPrograms;
|
||||
HMENU m_hRecentMenu;
|
||||
|
||||
HRESULT OnInitMenu()
|
||||
{
|
||||
|
@ -95,12 +94,6 @@ private:
|
|||
if (FAILED_UNEXPECTEDLY(hr))
|
||||
return hr;
|
||||
|
||||
m_hRecentMenu = ::LoadMenuW(shell32_hInstance, MAKEINTRESOURCEW(IDM_RECENTMENUHEAD));
|
||||
if (m_hRecentMenu == NULL)
|
||||
{
|
||||
ERR("m_hRecentMenu == NULL\n");
|
||||
}
|
||||
|
||||
return hr;
|
||||
}
|
||||
|
||||
|
@ -157,51 +150,38 @@ private:
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
void InsertRecentItem(HMENU hMenu, UINT nID, INT csidl, BOOL bExpand) const
|
||||
{
|
||||
WCHAR szPath[MAX_PATH];
|
||||
if (!SHGetSpecialFolderPathW(NULL, szPath, csidl, FALSE))
|
||||
{
|
||||
ERR("SHGetSpecialFolderPathW failed\n");
|
||||
return;
|
||||
}
|
||||
|
||||
LPWSTR pszText = PathFindFileNameW(szPath);
|
||||
if (bExpand)
|
||||
{
|
||||
MENUITEMINFOW mii = { sizeof(mii), MIIM_TYPE | MIIM_ID | MIIM_SUBMENU };
|
||||
mii.fType = MFT_STRING;
|
||||
mii.wID = nID;
|
||||
mii.hSubMenu = ::CreatePopupMenu();
|
||||
mii.dwTypeData = pszText;
|
||||
mii.cch = lstrlenW(pszText);
|
||||
InsertMenuItemW(hMenu, GetMenuItemCount(hMenu), TRUE, &mii);
|
||||
}
|
||||
else
|
||||
{
|
||||
AppendMenuW(hMenu, MF_STRING | MF_ENABLED, nID, pszText);
|
||||
}
|
||||
}
|
||||
|
||||
HMENU CreateRecentMenu(BOOL bExpandMyDocuments, BOOL bExpandMyPictures) const
|
||||
{
|
||||
HMENU hMenu = ::CreateMenu();
|
||||
if (hMenu == NULL)
|
||||
{
|
||||
ERR("HMenu == NULL\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
HMENU hSubMenu = ::GetSubMenu(m_hRecentMenu, 0);
|
||||
if (hSubMenu == NULL)
|
||||
{
|
||||
ERR("hSubMenu == NULL\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
WCHAR szText[128];
|
||||
UINT i, nCount = GetMenuItemCount(hSubMenu);
|
||||
for (i = 0; i < nCount; ++i)
|
||||
{
|
||||
UINT nID = GetMenuItemID(hSubMenu, i);
|
||||
if (GetMenuString(hSubMenu, i, szText, _countof(szText), MF_BYPOSITION))
|
||||
{
|
||||
if ((nID == IDM_MYDOCUMENTS && bExpandMyDocuments) ||
|
||||
(nID == IDM_MYPICTURES && bExpandMyPictures))
|
||||
{
|
||||
MENUITEMINFOW mii = { sizeof(mii), MIIM_TYPE | MIIM_ID | MIIM_SUBMENU };
|
||||
mii.fType = MFT_STRING;
|
||||
mii.wID = nID;
|
||||
mii.hSubMenu = ::CreatePopupMenu();
|
||||
mii.dwTypeData = szText;
|
||||
mii.cch = lstrlenW(szText);
|
||||
InsertMenuItemW(hMenu, i, TRUE, &mii);
|
||||
}
|
||||
else
|
||||
{
|
||||
AppendMenuW(hMenu, MF_STRING | MF_ENABLED, nID, szText);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
AppendMenuW(hMenu, MF_SEPARATOR, 0, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
InsertRecentItem(hMenu, IDM_MYDOCUMENTS, CSIDL_MYDOCUMENTS, bExpandMyDocuments);
|
||||
InsertRecentItem(hMenu, IDM_MYPICTURES, CSIDL_MYPICTURES, bExpandMyPictures);
|
||||
AppendMenuW(hMenu, MF_SEPARATOR, 0, NULL);
|
||||
return hMenu;
|
||||
}
|
||||
|
||||
|
@ -244,6 +224,8 @@ private:
|
|||
BOOL bExpandMyDocuments = FALSE; /* FIXME: Get value from registry */
|
||||
BOOL bExpandMyPictures = FALSE; /* FIXME: Get value from registry */
|
||||
HMENU hMenu = CreateRecentMenu(bExpandMyDocuments, bExpandMyPictures);
|
||||
if (hMenu == NULL)
|
||||
ERR("CreateRecentMenu failed\n");
|
||||
|
||||
hr = pShellMenu->SetMenu(hMenu, NULL, SMSET_BOTTOM);
|
||||
if (FAILED_UNEXPECTEDLY(hr))
|
||||
|
|
|
@ -794,7 +794,6 @@
|
|||
#define IDM_COPYHERE 0x7
|
||||
#define IDM_MOVEHERE 0x8
|
||||
#define IDM_LINKHERE 0xB
|
||||
#define IDM_RECENTMENUHEAD 401
|
||||
|
||||
#define IDM_MYDOCUMENTS 516
|
||||
#define IDM_MYPICTURES 518
|
||||
|
|
Loading…
Reference in a new issue