Author: gadamopoulos
Date: Mon Aug 14 15:25:58 2017
New Revision: 75533
URL:
http://svn.reactos.org/svn/reactos?rev=75533&view=rev
Log:
[SHELL32]
- CDefaultContextMenu: Make it respect the IContextMenu interface and expect menu id
offsets instead of real menu ids and actually use the idCmdFirst and idCmdLast parameters
in QueryContextMenu. Make the default part use and existed menu from the resources but
changed accordingly so the ids of its elements can be adjusted to the next free id of the
constructed menu. Rename InsertMenuItemsOfDynamicContextMenuExtension to
AddShellExtensionsToMenu, DoDynamicShellExtensions to InvokeShellExt, and
DoStaticShellExtensions to InvokeRegVerb. Make AddShellExtensionsToMenu and
AddStaticContextMenusToMenu behave like QueryContextMenu to return the number of ids they
occupy. Add two helpers SHGetMenuIdFromMenuMsg and SHSetMenuIdInMenuMsg to change the id
that is contained in the lparam of WM_DRAWITEM and WM_MEASUREITEM before forwarding them.
- CDefView: When calling QueryContextMenu before using TrackPopupMenu, use 1 as the first
id that will filled by the IContextMenu because we want 0 to be used as an indicator that
the menu was canceled. Use SHGetMenuIdFromMenuMsg and SHSetMenuIdInMenuMsg to change the
lparam of the messages forwarded to the IContextMenu accordingly.
- CDefViewBckgrndMenu: Add a hack so as to keep the code as simple as possible while
respecting idCmdFirst and idCmdLast.
- CNewMenu: Remove a hack that was needed because WM_DRAWITEM didn't come with the
menu id offset but with the real menu id.
- CDesktopFolder, CFSFolder: Make the callbacks avoid adding an extra separators.
After that shell extensions in menus should work better and callbacks to shell folders
should really be able to add several menu items.
Modified:
trunk/reactos/dll/win32/shell32/CDefView.cpp
trunk/reactos/dll/win32/shell32/CDefViewBckgrndMenu.cpp
trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp
trunk/reactos/dll/win32/shell32/CNewMenu.cpp
trunk/reactos/dll/win32/shell32/CNewMenu.h
trunk/reactos/dll/win32/shell32/folders/CDesktopFolder.cpp
trunk/reactos/dll/win32/shell32/folders/CFSFolder.cpp
trunk/reactos/dll/win32/shell32/lang/bg-BG.rc
trunk/reactos/dll/win32/shell32/lang/ca-ES.rc
trunk/reactos/dll/win32/shell32/lang/cs-CZ.rc
trunk/reactos/dll/win32/shell32/lang/da-DK.rc
trunk/reactos/dll/win32/shell32/lang/de-DE.rc
trunk/reactos/dll/win32/shell32/lang/el-GR.rc
trunk/reactos/dll/win32/shell32/lang/en-GB.rc
trunk/reactos/dll/win32/shell32/lang/en-US.rc
trunk/reactos/dll/win32/shell32/lang/es-ES.rc
trunk/reactos/dll/win32/shell32/lang/fi-FI.rc
trunk/reactos/dll/win32/shell32/lang/fr-FR.rc
trunk/reactos/dll/win32/shell32/lang/he-IL.rc
trunk/reactos/dll/win32/shell32/lang/hu-HU.rc
trunk/reactos/dll/win32/shell32/lang/it-IT.rc
trunk/reactos/dll/win32/shell32/lang/ja-JP.rc
trunk/reactos/dll/win32/shell32/lang/ko-KR.rc
trunk/reactos/dll/win32/shell32/lang/nl-NL.rc
trunk/reactos/dll/win32/shell32/lang/no-NO.rc
trunk/reactos/dll/win32/shell32/lang/pl-PL.rc
trunk/reactos/dll/win32/shell32/lang/pt-BR.rc
trunk/reactos/dll/win32/shell32/lang/pt-PT.rc
trunk/reactos/dll/win32/shell32/lang/ro-RO.rc
trunk/reactos/dll/win32/shell32/lang/ru-RU.rc
trunk/reactos/dll/win32/shell32/lang/sk-SK.rc
trunk/reactos/dll/win32/shell32/lang/sl-SI.rc
trunk/reactos/dll/win32/shell32/lang/sq-AL.rc
trunk/reactos/dll/win32/shell32/lang/sv-SE.rc
trunk/reactos/dll/win32/shell32/lang/tr-TR.rc
trunk/reactos/dll/win32/shell32/lang/uk-UA.rc
trunk/reactos/dll/win32/shell32/lang/zh-CN.rc
trunk/reactos/dll/win32/shell32/lang/zh-TW.rc
trunk/reactos/dll/win32/shell32/shresdef.h
Modified: trunk/reactos/dll/win32/shell32/CDefView.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/CDefView…
==============================================================================
--- trunk/reactos/dll/win32/shell32/CDefView.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/CDefView.cpp [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -52,6 +52,10 @@
} LISTVIEW_SORT_INFO, *LPLISTVIEW_SORT_INFO;
#define SHV_CHANGE_NOTIFY WM_USER + 0x1111
+
+/* For the context menu of the def view, the id of the items are based on 1 because we
need
+ to call TrackPopupMenu and let it use the 0 value as an indication that the menu was
canceled */
+#define CONTEXT_MENU_BASE_ID 1
class CDefView :
public CWindowImpl<CDefView, CWindow, CControlWinTraits>,
@@ -1272,7 +1276,7 @@
IUnknown_SetSite(m_pCM, (IShellView *)this);
- hResult = m_pCM->QueryContextMenu(hMenu, 0, 0x20, 0x7fff, CMF_DEFAULTONLY);
+ hResult = m_pCM->QueryContextMenu(hMenu, 0, FCIDM_SHVIEWFIRST, FCIDM_SHVIEWLAST,
CMF_DEFAULTONLY);
if (FAILED_UNEXPECTEDLY(hResult))
goto cleanup;
@@ -1325,7 +1329,8 @@
IUnknown_SetSite(m_pCM, (IShellView *)this);
- hResult = m_pCM->QueryContextMenu(m_hContextMenu, 0, FCIDM_SHVIEWFIRST,
FCIDM_SHVIEWLAST, CMF_NORMAL);
+ /* Use 1 as the first id as we want 0 the mean that the user canceled the menu */
+ hResult = m_pCM->QueryContextMenu(m_hContextMenu, 0, CONTEXT_MENU_BASE_ID,
FCIDM_SHVIEWLAST, CMF_NORMAL);
if (FAILED_UNEXPECTEDLY(hResult))
goto cleanup;
@@ -1338,7 +1343,7 @@
if (uCommand == FCIDM_SHVIEW_OPEN && OnDefaultCommand() == S_OK)
goto cleanup;
- InvokeContextMenuCommand(uCommand);
+ InvokeContextMenuCommand(uCommand - CONTEXT_MENU_BASE_ID);
cleanup:
if (m_pCM)
@@ -1600,7 +1605,7 @@
return OnExplorerCommand(dwCmdID, FALSE);
default:
/* WM_COMMAND messages from the file menu are routed to the CDefView so as to
let m_pCM handle the command */
- if (m_pCM)
+ if (m_pCM && dwCmd == 0)
{
InvokeContextMenuCommand(dwCmdID);
}
@@ -1955,6 +1960,9 @@
return TRUE;
}
+HRESULT SHGetMenuIdFromMenuMsg(UINT uMsg, LPARAM lParam, UINT *CmdId);
+HRESULT SHSetMenuIdInMenuMsg(UINT uMsg, LPARAM lParam, UINT CmdId);
+
/**********************************************************
* CDefView::OnCustomItem
*/
@@ -1967,12 +1975,18 @@
return FALSE;
}
+ /* The lParam of WM_DRAWITEM WM_MEASUREITEM contain a menu id and this also needs to
+ be changed to a menu identifier offset */
+ UINT CmdID;
+ HRESULT hres = SHGetMenuIdFromMenuMsg(uMsg, lParam, &CmdID);
+ if (SUCCEEDED(hres))
+ SHSetMenuIdInMenuMsg(uMsg, lParam, CmdID - CONTEXT_MENU_BASE_ID);
+
+ /* Forward the message to the IContextMenu2 */
LRESULT result;
- HRESULT hres = SHForwardContextMenuMsg(m_pCM, uMsg, wParam, lParam, &result,
TRUE);
- if (SUCCEEDED(hres))
- return TRUE;
- else
- return FALSE;
+ hres = SHForwardContextMenuMsg(m_pCM, uMsg, wParam, lParam, &result, TRUE);
+
+ return (SUCCEEDED(hres));
}
LRESULT CDefView::OnSettingChange(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL
&bHandled)
Modified: trunk/reactos/dll/win32/shell32/CDefViewBckgrndMenu.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/CDefView…
==============================================================================
--- trunk/reactos/dll/win32/shell32/CDefViewBckgrndMenu.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/CDefViewBckgrndMenu.cpp [iso-8859-1] Mon Aug 14
15:25:58 2017
@@ -20,6 +20,9 @@
CComPtr<IShellFolder> m_psf;
CComPtr<IContextMenu> m_folderCM;
+ UINT m_idCmdFirst;
+ UINT m_LastFolderCMId;
+
BOOL _bIsDesktopBrowserMenu();
BOOL _bCanPaste();
public:
@@ -52,6 +55,8 @@
CDefViewBckgrndMenu::CDefViewBckgrndMenu()
{
+ m_idCmdFirst = 0;
+ m_LastFolderCMId = 0;
}
CDefViewBckgrndMenu::~CDefViewBckgrndMenu()
@@ -135,6 +140,39 @@
{
HRESULT hr;
HMENU hMenuPart;
+ UINT cIds = 0;
+
+ /* This is something the implementations of IContextMenu should never really do.
+ However CDefViewBckgrndMenu is more or less an overengineering result, its code
could really be part of the
+ CDefView. Given this, I think that abusing the interface here is not that bad
since only CDefView is the ony
+ user of this class. Here we need to do two things to keep things as simple as
possible.
+ First we want the menu part added by the shell folder to be the first to add so as
to make as few id translations
+ as possible. Second, we want to add the default part of the background menu
without shifted ids, so as
+ to let the CDefView fill some parts like filling the arrange modes or checking the
view mode. In order
+ for that to work we need to save idCmdFirst because our caller will pass id
offsets to InvokeCommand.
+ This makes it impossible to concatenate the CDefViewBckgrndMenu with other menus
since it abuses IContextMenu
+ but as stated above, its sole user is CDefView and should really be that way. */
+ m_idCmdFirst = idCmdFirst;
+
+ /* Query the shell folder to add any items it wants to add in the background context
menu */
+ hr = m_psf->CreateViewObject(NULL, IID_PPV_ARG(IContextMenu, &m_folderCM));
+ if (SUCCEEDED(hr))
+ {
+ hr = m_folderCM->QueryContextMenu(hMenu, indexMenu, idCmdFirst, idCmdLast,
uFlags);
+ if (SUCCEEDED(hr))
+ {
+ m_LastFolderCMId = LOWORD(hr);
+ cIds = m_LastFolderCMId;
+ }
+ else
+ {
+ WARN("QueryContextMenu failed!\n");
+ }
+ }
+ else
+ {
+ WARN("GetUIObjectOf didn't give any context menu!\n");
+ }
/* Load the default part of the background context menu */
hMenuPart = LoadMenuW(shell32_hInstance, L"MENU_002");
@@ -154,8 +192,7 @@
}
/* merge general background context menu in */
- Shell_MergeMenus(hMenu, GetSubMenu(hMenuPart, 0), indexMenu, 0, 0xFFFF,
MM_DONTREMOVESEPS | MM_SUBMENUSHAVEIDS);
- indexMenu += GetMenuItemCount(GetSubMenu(hMenuPart, 0));
+ Shell_MergeMenus(hMenu, GetSubMenu(hMenuPart, 0), indexMenu, 0, idCmdLast,
MM_DONTREMOVESEPS | MM_SUBMENUSHAVEIDS | MM_ADDSEPARATOR);
DestroyMenu(hMenuPart);
}
else
@@ -163,52 +200,24 @@
ERR("Failed to load menu from resource!\n");
}
- /* Query the shell folder to add any items it wants to add in the background context
menu */
- hMenuPart = CreatePopupMenu();
- if (hMenuPart)
- {
- hr = m_psf->CreateViewObject(NULL, IID_PPV_ARG(IContextMenu,
&m_folderCM));
- if (SUCCEEDED(hr))
- {
- InsertMenuA(hMenu, indexMenu++, MF_BYPOSITION | MF_SEPARATOR, 0, NULL);
- UINT SeparatorIndex = indexMenu;
- int count = GetMenuItemCount(hMenu);
-
- hr = m_folderCM->QueryContextMenu(hMenu, indexMenu, idCmdFirst, idCmdLast,
uFlags);
- if (SUCCEEDED(hr))
- {
- //Shell_MergeMenus(hMenu, hMenuPart, indexMenu, 0, UINT_MAX,
MM_ADDSEPARATOR| MM_DONTREMOVESEPS | MM_SUBMENUSHAVEIDS);
- //DestroyMenu(hMenuPart);
- }
- else
- {
- WARN("QueryContextMenu failed!\n");
- }
-
- /* If no item was added after the separator, remove it */
- if (count == GetMenuItemCount(hMenu))
- DeleteMenu(hMenu, SeparatorIndex, MF_BYPOSITION);
-
- }
- else
- {
- WARN("GetUIObjectOf didn't give any context menu!\n");
- }
- }
- else
- {
- ERR("CreatePopupMenu failed!\n");
- }
-
- return S_OK;
+ return MAKE_HRESULT(SEVERITY_SUCCESS, 0, cIds);
}
HRESULT
WINAPI
CDefViewBckgrndMenu::InvokeCommand(LPCMINVOKECOMMANDINFO lpcmi)
{
+ UINT idCmd = LOWORD(lpcmi->lpVerb);
+ if(HIWORD(lpcmi->lpVerb) != 0 || idCmd < m_LastFolderCMId)
+ {
+ return m_folderCM->InvokeCommand(lpcmi);
+ }
+
+ /* The default part of the background menu doesn't have shifted ids so we need to
convert the id offset to the real id */
+ idCmd += m_idCmdFirst;
+
/* The commands that are handled by the def view are forwarded to it */
- switch (LOWORD(lpcmi->lpVerb))
+ switch (idCmd)
{
case FCIDM_SHVIEW_BIGICON:
case FCIDM_SHVIEW_SMALLICON:
@@ -232,13 +241,12 @@
HWND hwndSV = NULL;
if (SUCCEEDED(psv->GetWindow(&hwndSV)))
- SendMessageW(hwndSV, WM_COMMAND, MAKEWPARAM(LOWORD(lpcmi->lpVerb), 0),
0);
+ SendMessageW(hwndSV, WM_COMMAND, MAKEWPARAM(idCmd, 0), 0);
return S_OK;
}
- /* Unknown commands are added by the folder context menu so forward the invocation
*/
- return m_folderCM->InvokeCommand(lpcmi);
-
+ ERR("Got unknown command id %ul\n", LOWORD(lpcmi->lpVerb));
+ return E_FAIL;
}
HRESULT
Modified: trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/CDefault…
==============================================================================
--- trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp [iso-8859-1] Mon Aug 14
15:25:58 2017
@@ -78,6 +78,8 @@
UINT m_iIdSCMLast; /* last static used id */
UINT m_iIdCBFirst; /* first callback used id */
UINT m_iIdCBLast; /* last callback used id */
+ UINT m_iIdDfltFirst; /* first default part id */
+ UINT m_iIdDfltLast; /* last default part id */
HRESULT _DoCallback(UINT uMsg, WPARAM wParam, LPVOID lParam);
void AddStaticEntry(const HKEY hkeyClass, const WCHAR *szVerb);
@@ -85,8 +87,8 @@
BOOL IsShellExtensionAlreadyLoaded(const CLSID *pclsid);
HRESULT LoadDynamicContextMenuHandler(HKEY hKey, const CLSID *pclsid);
BOOL EnumerateDynamicContextHandlerForKey(HKEY hRootKey);
- UINT InsertMenuItemsOfDynamicContextMenuExtension(HMENU hMenu, UINT IndexMenu,
UINT idCmdFirst, UINT idCmdLast);
- UINT AddStaticContextMenusToMenu(HMENU hMenu, UINT IndexMenu, UINT iIdCmdFirst,
UINT iIdCmdLast);
+ UINT AddShellExtensionsToMenu(HMENU hMenu, UINT* pIndexMenu, UINT idCmdFirst,
UINT idCmdLast);
+ UINT AddStaticContextMenusToMenu(HMENU hMenu, UINT* IndexMenu, UINT iIdCmdFirst,
UINT iIdCmdLast);
HRESULT DoPaste(LPCMINVOKECOMMANDINFO lpcmi, BOOL bLink);
HRESULT DoOpenOrExplore(LPCMINVOKECOMMANDINFO lpcmi);
HRESULT DoCreateLink(LPCMINVOKECOMMANDINFO lpcmi);
@@ -95,8 +97,8 @@
HRESULT DoRename(LPCMINVOKECOMMANDINFO lpcmi);
HRESULT DoProperties(LPCMINVOKECOMMANDINFO lpcmi);
HRESULT DoCreateNewFolder(LPCMINVOKECOMMANDINFO lpici);
- HRESULT DoDynamicShellExtensions(LPCMINVOKECOMMANDINFO lpcmi);
- HRESULT DoStaticShellExtensions(LPCMINVOKECOMMANDINFO lpcmi);
+ HRESULT InvokeShellExt(LPCMINVOKECOMMANDINFO lpcmi);
+ HRESULT InvokeRegVerb(LPCMINVOKECOMMANDINFO lpcmi);
DWORD BrowserFlagsFromVerb(LPCMINVOKECOMMANDINFO lpcmi, PStaticShellEntry
pEntry);
HRESULT TryToBrowse(LPCMINVOKECOMMANDINFO lpcmi, LPCITEMIDLIST pidl, DWORD
wFlags);
HRESULT InvokePidl(LPCMINVOKECOMMANDINFO lpcmi, LPCITEMIDLIST pidl,
PStaticShellEntry pEntry);
@@ -149,7 +151,10 @@
m_iIdSCMFirst(0),
m_iIdSCMLast(0),
m_iIdCBFirst(0),
- m_iIdCBLast(0)
+ m_iIdCBLast(0),
+ m_iIdDfltFirst(0),
+ m_iIdDfltLast(0)
+
{
}
@@ -463,47 +468,38 @@
}
UINT
-CDefaultContextMenu::InsertMenuItemsOfDynamicContextMenuExtension(HMENU hMenu, UINT
IndexMenu, UINT idCmdFirst, UINT idCmdLast)
-{
+CDefaultContextMenu::AddShellExtensionsToMenu(HMENU hMenu, UINT* pIndexMenu, UINT
idCmdFirst, UINT idCmdLast)
+{
+ UINT cIds = 0;
+
if (!m_pDynamicEntries)
- {
- m_iIdSHEFirst = 0;
- m_iIdSHELast = 0;
- return IndexMenu;
- }
+ return cIds;
PDynamicShellEntry pEntry = m_pDynamicEntries;
- m_iIdSHEFirst = idCmdFirst;
do
{
- HRESULT hr = pEntry->pCM->QueryContextMenu(hMenu, IndexMenu++, idCmdFirst,
idCmdLast, CMF_NORMAL);
+ HRESULT hr = pEntry->pCM->QueryContextMenu(hMenu, *pIndexMenu, idCmdFirst +
cIds, idCmdLast, CMF_NORMAL);
if (SUCCEEDED(hr))
{
- pEntry->iIdCmdFirst = idCmdFirst;
+ pEntry->iIdCmdFirst = cIds;
pEntry->NumIds = LOWORD(hr);
- IndexMenu += pEntry->NumIds;
- idCmdFirst += pEntry->NumIds + 0x10;
-
- if(idCmdFirst >= idCmdLast)
- {
- /* There is no more room for items */
- idCmdFirst = idCmdLast;
+ (*pIndexMenu) += pEntry->NumIds;
+
+ cIds += pEntry->NumIds;
+ if(idCmdFirst + cIds >= idCmdLast)
break;
- }
}
TRACE("pEntry %p hr %x contextmenu %p cmdfirst %x num ids %x\n",
pEntry, hr, pEntry->pCM, pEntry->iIdCmdFirst, pEntry->NumIds);
pEntry = pEntry->pNext;
} while (pEntry);
- m_iIdSHELast = idCmdFirst;
- TRACE("SH_LoadContextMenuHandlers first %x last %x\n", m_iIdSHEFirst,
m_iIdSHELast);
- return IndexMenu;
+ return cIds;
}
UINT
CDefaultContextMenu::AddStaticContextMenusToMenu(
HMENU hMenu,
- UINT IndexMenu,
+ UINT* pIndexMenu,
UINT iIdCmdFirst,
UINT iIdCmdLast)
{
@@ -511,13 +507,12 @@
UINT idResource;
WCHAR wszVerb[40];
UINT fState;
+ UINT cIds = 0;
mii.cbSize = sizeof(mii);
mii.fMask = MIIM_ID | MIIM_TYPE | MIIM_STATE | MIIM_DATA;
mii.fType = MFT_STRING;
- mii.wID = iIdCmdFirst;
mii.dwTypeData = NULL;
- m_iIdSCMFirst = mii.wID;
PStaticShellEntry pEntry = m_pStaticEntries;
@@ -596,17 +591,18 @@
mii.cch = wcslen(mii.dwTypeData);
mii.fState = fState;
- InsertMenuItemW(hMenu, IndexMenu++, TRUE, &mii);
-
- mii.wID++;
+ mii.wID = iIdCmdFirst + cIds;
+ InsertMenuItemW(hMenu, *pIndexMenu, TRUE, &mii);
+ (*pIndexMenu)++;
+ cIds++;
+
pEntry = pEntry->pNext;
if (mii.wID >= iIdCmdLast)
break;
}
- m_iIdSCMLast = mii.wID - 1;
- return IndexMenu;
+ return cIds;
}
void WINAPI _InsertMenuItemW(
@@ -659,10 +655,7 @@
{
HRESULT hr;
UINT idCmdNext = idCmdFirst;
-
- /* Add a tiny hack to make all the shell happy until we understand how we should
handle 0 ids */
- if (!idCmdNext)
- idCmdNext = 1;
+ UINT cIds = 0;
TRACE("BuildShellItemContextMenu entered\n");
@@ -674,92 +667,69 @@
}
/* Add static context menu handlers */
- IndexMenu = AddStaticContextMenusToMenu(hMenu, IndexMenu, idCmdNext, idCmdLast);
- if (m_iIdSCMLast && m_iIdSCMFirst > m_iIdSCMLast)
- m_iIdSCMLast = m_iIdSCMFirst = 0;
- else if (m_iIdSCMLast)
- idCmdNext = m_iIdSCMLast + 1;
+ cIds = AddStaticContextMenusToMenu(hMenu, &IndexMenu, idCmdFirst, idCmdLast);
+ m_iIdSCMFirst = 0;
+ m_iIdSCMLast = cIds;
+ idCmdNext = idCmdFirst + cIds;
/* Add dynamic context menu handlers */
- BOOL bAddSep = FALSE;
- IndexMenu = InsertMenuItemsOfDynamicContextMenuExtension(hMenu, IndexMenu, idCmdNext,
idCmdLast);
- if (m_iIdSHELast && m_iIdSHELast != m_iIdSHEFirst)
- idCmdNext = m_iIdSHELast + 1;
+ cIds += AddShellExtensionsToMenu(hMenu, &IndexMenu, idCmdNext, idCmdLast);
+ m_iIdSHEFirst = m_iIdSCMLast;
+ m_iIdSHELast = cIds;
+ idCmdNext = idCmdFirst + cIds;
+ TRACE("SH_LoadContextMenuHandlers first %x last %x\n", m_iIdSHEFirst,
m_iIdSHELast);
/* Now let the callback add its own items */
QCMINFO qcminfo = {hMenu, IndexMenu, idCmdNext, idCmdLast, NULL};
if (SUCCEEDED(_DoCallback(DFM_MERGECONTEXTMENU, uFlags, &qcminfo)))
{
- m_iIdCBFirst = idCmdNext;
- m_iIdCBLast = qcminfo.idCmdFirst;
- idCmdNext = m_iIdCBLast + 1;
- }
-
- /* The rest of the items will be added in the end of the menu */
- IndexMenu = GetMenuItemCount(hMenu);
+ cIds += qcminfo.idCmdFirst;
+ IndexMenu += qcminfo.idCmdFirst;
+ m_iIdCBFirst = m_iIdSHELast;
+ m_iIdCBLast = cIds;
+ idCmdNext = idCmdFirst + cIds;
+ }
if (uFlags & CMF_VERBSONLY)
- return MAKE_HRESULT(SEVERITY_SUCCESS, 0, idCmdNext - idCmdFirst);
+ return MAKE_HRESULT(SEVERITY_SUCCESS, 0, cIds);
/* If this is a background context menu we are done */
if (!m_cidl)
- return MAKE_HRESULT(SEVERITY_SUCCESS, 0, idCmdNext - idCmdFirst);
+ return MAKE_HRESULT(SEVERITY_SUCCESS, 0, cIds);
/* Get the attributes of the items */
SFGAOF rfg = SFGAO_BROWSABLE | SFGAO_CANCOPY | SFGAO_CANLINK | SFGAO_CANMOVE |
SFGAO_CANDELETE | SFGAO_CANRENAME | SFGAO_HASPROPSHEET | SFGAO_FILESYSTEM | SFGAO_FOLDER;
hr = m_psf->GetAttributesOf(m_cidl, m_apidl, &rfg);
if (FAILED_UNEXPECTEDLY(hr))
- return MAKE_HRESULT(SEVERITY_SUCCESS, 0, idCmdNext - idCmdFirst);
-
- /* Add the standard menu entries based on the attributes of the items */
- BOOL bClipboardData = (HasClipboardData() && (rfg & SFGAO_FILESYSTEM));
- if (rfg & (SFGAO_CANCOPY | SFGAO_CANMOVE) || bClipboardData)
- {
- _InsertMenuItemW(hMenu, IndexMenu++, TRUE, 0, MFT_SEPARATOR, NULL, 0);
- if (rfg & SFGAO_CANMOVE)
- _InsertMenuItemW(hMenu, IndexMenu++, TRUE, FCIDM_SHVIEW_CUT, MFT_STRING,
MAKEINTRESOURCEW(IDS_CUT), MFS_ENABLED);
- if (rfg & SFGAO_CANCOPY)
- _InsertMenuItemW(hMenu, IndexMenu++, TRUE, FCIDM_SHVIEW_COPY, MFT_STRING,
MAKEINTRESOURCEW(IDS_COPY), MFS_ENABLED);
- if (bClipboardData)
- _InsertMenuItemW(hMenu, IndexMenu++, TRUE, FCIDM_SHVIEW_INSERT, MFT_STRING,
MAKEINTRESOURCEW(IDS_PASTE), MFS_ENABLED);
-
- bAddSep = TRUE;
- }
-
- if (rfg & SFGAO_CANLINK)
- {
- bAddSep = FALSE;
- _InsertMenuItemW(hMenu, IndexMenu++, TRUE, 0, MFT_SEPARATOR, NULL, 0);
- _InsertMenuItemW(hMenu, IndexMenu++, TRUE, FCIDM_SHVIEW_CREATELINK, MFT_STRING,
MAKEINTRESOURCEW(IDS_CREATELINK), MFS_ENABLED);
- }
-
- if (rfg & SFGAO_CANDELETE)
- {
- if (bAddSep)
- {
- bAddSep = FALSE;
- _InsertMenuItemW(hMenu, IndexMenu++, TRUE, 0, MFT_SEPARATOR, NULL, 0);
- }
- _InsertMenuItemW(hMenu, IndexMenu++, TRUE, FCIDM_SHVIEW_DELETE, MFT_STRING,
MAKEINTRESOURCEW(IDS_DELETE), MFS_ENABLED);
- }
-
- if (rfg & SFGAO_CANRENAME)
- {
- if (bAddSep)
- {
- _InsertMenuItemW(hMenu, IndexMenu++, TRUE, 0, MFT_SEPARATOR, NULL, 0);
- }
- _InsertMenuItemW(hMenu, IndexMenu++, TRUE, FCIDM_SHVIEW_RENAME, MFT_STRING,
MAKEINTRESOURCEW(IDS_RENAME), MFS_ENABLED);
- bAddSep = TRUE;
- }
-
- if (rfg & SFGAO_HASPROPSHEET)
- {
- _InsertMenuItemW(hMenu, IndexMenu++, TRUE, 0, MFT_SEPARATOR, NULL, 0);
- _InsertMenuItemW(hMenu, IndexMenu++, TRUE, FCIDM_SHVIEW_PROPERTIES, MFT_STRING,
MAKEINTRESOURCEW(IDS_PROPERTIES), MFS_ENABLED);
- }
-
- return S_OK;
+ return MAKE_HRESULT(SEVERITY_SUCCESS, 0, cIds);
+
+ /* Add the default part of the menu */
+ HMENU hmenuDefault = LoadMenu(_AtlBaseModule.GetResourceInstance(),
L"MENU_SHV_FILE");
+
+ /* Remove uneeded entries */
+ if (!(rfg & SFGAO_CANMOVE))
+ DeleteMenu(hmenuDefault, IDM_CUT, MF_BYCOMMAND);
+ if (!(rfg & SFGAO_CANCOPY))
+ DeleteMenu(hmenuDefault, IDM_COPY, MF_BYCOMMAND);
+ if (!((rfg & SFGAO_FILESYSTEM) && HasClipboardData()))
+ DeleteMenu(hmenuDefault, IDM_INSERT, MF_BYCOMMAND);
+ if (!(rfg & SFGAO_CANLINK))
+ DeleteMenu(hmenuDefault, IDM_CREATELINK, MF_BYCOMMAND);
+ if (!(rfg & SFGAO_CANDELETE))
+ DeleteMenu(hmenuDefault, IDM_DELETE, MF_BYCOMMAND);
+ if (!(rfg & SFGAO_CANRENAME))
+ DeleteMenu(hmenuDefault, IDM_RENAME, MF_BYCOMMAND);
+ if (!(rfg & SFGAO_HASPROPSHEET))
+ DeleteMenu(hmenuDefault, IDM_PROPERTIES, MF_BYCOMMAND);
+
+ UINT idMax = Shell_MergeMenus(hMenu, GetSubMenu(hmenuDefault, 0), IndexMenu,
idCmdNext, idCmdLast, 0);
+ m_iIdDfltFirst = cIds;
+ cIds += idMax - idCmdNext;
+ m_iIdDfltLast = cIds;
+
+ DestroyMenu(hmenuDefault);
+
+ return MAKE_HRESULT(SEVERITY_SUCCESS, 0, cIds);
}
HRESULT CDefaultContextMenu::DoPaste(LPCMINVOKECOMMANDINFO lpcmi, BOOL bLink)
@@ -967,7 +937,7 @@
{
PDynamicShellEntry pEntry = m_pDynamicEntries;
- while(pEntry && idCmd > pEntry->iIdCmdFirst + pEntry->NumIds)
+ while(pEntry && idCmd >= pEntry->iIdCmdFirst + pEntry->NumIds)
pEntry = pEntry->pNext;
if (!pEntry)
@@ -1016,7 +986,7 @@
}
HRESULT
-CDefaultContextMenu::DoDynamicShellExtensions(
+CDefaultContextMenu::InvokeShellExt(
LPCMINVOKECOMMANDINFO lpcmi)
{
TRACE("verb %p first %x last %x\n", lpcmi->lpVerb, m_iIdSHEFirst,
m_iIdSHELast);
@@ -1134,7 +1104,7 @@
}
HRESULT
-CDefaultContextMenu::DoStaticShellExtensions(
+CDefaultContextMenu::InvokeRegVerb(
LPCMINVOKECOMMANDINFO lpcmi)
{
PStaticShellEntry pEntry = m_pStaticEntries;
@@ -1198,8 +1168,37 @@
LocalInvokeInfo.lpVerb = MAKEINTRESOURCEA(CmdId);
}
+ CmdId = LOWORD(LocalInvokeInfo.lpVerb);
+
+ if (m_pDynamicEntries && CmdId >= m_iIdSHEFirst && CmdId <
m_iIdSHELast)
+ {
+ LocalInvokeInfo.lpVerb -= m_iIdSHEFirst;
+ Result = InvokeShellExt(&LocalInvokeInfo);
+ return Result;
+ }
+
+ if (m_pStaticEntries && CmdId >= m_iIdSCMFirst && CmdId <
m_iIdSCMLast)
+ {
+ LocalInvokeInfo.lpVerb -= m_iIdSCMFirst;
+ Result = InvokeRegVerb(&LocalInvokeInfo);
+ return Result;
+ }
+
+ if (m_iIdCBFirst != m_iIdCBLast && CmdId >= m_iIdCBFirst && CmdId
< m_iIdCBLast)
+ {
+ Result = _DoCallback(DFM_INVOKECOMMAND, CmdId - m_iIdCBFirst, NULL);
+ return Result;
+ }
+
+ if (m_iIdDfltFirst != m_iIdDfltLast && CmdId >= m_iIdDfltFirst &&
CmdId < m_iIdDfltLast)
+ {
+ CmdId -= m_iIdDfltFirst;
+ /* See the definitions of IDM_CUT and co to see how this works */
+ CmdId += 0x7000;
+ }
+
/* Check if this is a Id */
- switch (LOWORD(LocalInvokeInfo.lpVerb))
+ switch (CmdId)
{
case FCIDM_SHVIEW_INSERT:
Result = DoPaste(&LocalInvokeInfo, FALSE);
@@ -1232,33 +1231,9 @@
break;
default:
Result = E_UNEXPECTED;
+ ERR("Unhandled Verb %xl\n", LOWORD(LocalInvokeInfo.lpVerb));
break;
}
-
- /* Check for ID's we didn't find a handler for */
- if (Result == E_UNEXPECTED)
- {
- if (m_pDynamicEntries)
- {
- if (LOWORD(LocalInvokeInfo.lpVerb) >= m_iIdSHEFirst &&
LOWORD(LocalInvokeInfo.lpVerb) <= m_iIdSHELast)
- Result = DoDynamicShellExtensions(&LocalInvokeInfo);
- }
-
- if (m_pStaticEntries)
- {
- if (LOWORD(LocalInvokeInfo.lpVerb) >= m_iIdSCMFirst &&
LOWORD(LocalInvokeInfo.lpVerb) <= m_iIdSCMLast)
- Result = DoStaticShellExtensions(&LocalInvokeInfo);
- }
-
- if (m_iIdCBFirst != m_iIdCBLast)
- {
- if (LOWORD(LocalInvokeInfo.lpVerb) >= m_iIdCBFirst &&
LOWORD(LocalInvokeInfo.lpVerb) <= m_iIdCBLast)
- Result = _DoCallback(DFM_INVOKECOMMAND, LOWORD(LocalInvokeInfo.lpVerb),
NULL);
- }
- }
-
- if (Result == E_UNEXPECTED)
- ERR("Unhandled Verb %xl\n", LOWORD(LocalInvokeInfo.lpVerb));
return Result;
}
@@ -1315,6 +1290,42 @@
return S_OK;
}
+HRESULT SHGetMenuIdFromMenuMsg(UINT uMsg, LPARAM lParam, UINT *CmdId)
+{
+ if (uMsg == WM_DRAWITEM)
+ {
+ DRAWITEMSTRUCT* pDrawStruct = reinterpret_cast<DRAWITEMSTRUCT*>(lParam);
+ *CmdId = pDrawStruct->itemID;
+ return S_OK;
+ }
+ else if (uMsg == WM_MEASUREITEM)
+ {
+ MEASUREITEMSTRUCT* pMeasureStruct =
reinterpret_cast<MEASUREITEMSTRUCT*>(lParam);
+ *CmdId = pMeasureStruct->itemID;
+ return S_OK;
+ }
+
+ return E_FAIL;
+}
+
+HRESULT SHSetMenuIdInMenuMsg(UINT uMsg, LPARAM lParam, UINT CmdId)
+{
+ if (uMsg == WM_DRAWITEM)
+ {
+ DRAWITEMSTRUCT* pDrawStruct = reinterpret_cast<DRAWITEMSTRUCT*>(lParam);
+ pDrawStruct->itemID = CmdId;
+ return S_OK;
+ }
+ else if (uMsg == WM_MEASUREITEM)
+ {
+ MEASUREITEMSTRUCT* pMeasureStruct =
reinterpret_cast<MEASUREITEMSTRUCT*>(lParam);
+ pMeasureStruct->itemID = CmdId;
+ return S_OK;
+ }
+
+ return E_FAIL;
+}
+
HRESULT
WINAPI
CDefaultContextMenu::HandleMenuMsg2(
@@ -1323,9 +1334,7 @@
LPARAM lParam,
LRESULT *plResult)
{
- switch (uMsg)
- {
- case WM_INITMENUPOPUP:
+ if (uMsg == WM_INITMENUPOPUP)
{
PDynamicShellEntry pEntry = m_pDynamicEntries;
while (pEntry)
@@ -1333,30 +1342,25 @@
SHForwardContextMenuMsg(pEntry->pCM, uMsg, wParam, lParam, plResult,
TRUE);
pEntry = pEntry->pNext;
}
- break;
- }
- case WM_DRAWITEM:
- {
- DRAWITEMSTRUCT* pDrawStruct = reinterpret_cast<DRAWITEMSTRUCT*>(lParam);
- PDynamicShellEntry pEntry = GetDynamicEntry(pDrawStruct->itemID);
- if (pEntry)
- SHForwardContextMenuMsg(pEntry->pCM, uMsg, wParam, lParam, plResult,
TRUE);
- break;
- }
- case WM_MEASUREITEM:
- {
- MEASUREITEMSTRUCT* pMeasureStruct =
reinterpret_cast<MEASUREITEMSTRUCT*>(lParam);
- PDynamicShellEntry pEntry = GetDynamicEntry(pMeasureStruct->itemID);
- if (pEntry)
- SHForwardContextMenuMsg(pEntry->pCM, uMsg, wParam, lParam, plResult,
TRUE);
- break;
- }
- case WM_MENUCHAR :
- /* FIXME */
- break;
- default:
- ERR("Got unknown message:%d\n", uMsg);
- }
+ return S_OK;
+ }
+
+ UINT CmdId;
+ HRESULT hr = SHGetMenuIdFromMenuMsg(uMsg, lParam, &CmdId);
+ if (FAILED(hr))
+ return S_FALSE;
+
+ if (CmdId < m_iIdSHEFirst || CmdId >= m_iIdSHELast)
+ return S_FALSE;
+
+ CmdId -= m_iIdSHEFirst;
+ PDynamicShellEntry pEntry = GetDynamicEntry(CmdId);
+ if (pEntry)
+ {
+ SHSetMenuIdInMenuMsg(uMsg, lParam, CmdId - pEntry->iIdCmdFirst);
+ SHForwardContextMenuMsg(pEntry->pCM, uMsg, wParam, lParam, plResult, TRUE);
+ }
+
return S_OK;
}
Modified: trunk/reactos/dll/win32/shell32/CNewMenu.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/CNewMenu…
==============================================================================
--- trunk/reactos/dll/win32/shell32/CNewMenu.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/CNewMenu.cpp [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -31,8 +31,7 @@
m_pLinkItem(NULL),
m_pSite(NULL),
m_hiconFolder(NULL),
- m_hiconLink(NULL),
- m_idCmdFirst(0)
+ m_hiconLink(NULL)
{
}
@@ -614,8 +613,6 @@
MENUITEMINFOW mii;
UINT cItems = 0;
- m_idCmdFirst = idCmdFirst;
-
TRACE("%p %p %u %u %u %u\n", this,
hMenu, indexMenu, idCmdFirst, idCmdLast, uFlags);
@@ -711,7 +708,7 @@
if (!lpdis || lpdis->CtlType != ODT_MENU)
break;
- DWORD id = LOWORD(lpdis->itemID) - m_idCmdFirst;
+ DWORD id = LOWORD(lpdis->itemID);
HICON hIcon = 0;
if (id == 0)
hIcon = m_hiconFolder;
Modified: trunk/reactos/dll/win32/shell32/CNewMenu.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/CNewMenu…
==============================================================================
--- trunk/reactos/dll/win32/shell32/CNewMenu.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/CNewMenu.h [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -60,7 +60,6 @@
CComPtr<IUnknown> m_pSite;
HMENU m_hSubMenu;
HICON m_hiconFolder, m_hiconLink;
- UINT m_idCmdFirst;
SHELLNEW_ITEM *LoadItem(LPCWSTR pwszExt);
void UnloadItem(SHELLNEW_ITEM *pItem);
Modified: trunk/reactos/dll/win32/shell32/folders/CDesktopFolder.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/folders/…
==============================================================================
--- trunk/reactos/dll/win32/shell32/folders/CDesktopFolder.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/folders/CDesktopFolder.cpp [iso-8859-1] Mon Aug 14
15:25:58 2017
@@ -840,7 +840,7 @@
/* no data object means no selection */
if (!pdtobj)
{
- if (uMsg == DFM_INVOKECOMMAND && wParam == DFM_CMD_PROPERTIES)
+ if (uMsg == DFM_INVOKECOMMAND && wParam == 0)
{
if (32 >= (UINT)ShellExecuteW(hwndOwner, L"open",
L"rundll32.exe shell32.dll,Control_RunDLL desk.cpl", NULL, NULL,
SW_SHOWNORMAL))
return E_FAIL;
@@ -849,8 +849,10 @@
else if (uMsg == DFM_MERGECONTEXTMENU)
{
QCMINFO *pqcminfo = (QCMINFO *)lParam;
- _InsertMenuItemW(pqcminfo->hmenu, pqcminfo->indexMenu++, TRUE, 0,
MFT_SEPARATOR, NULL, 0);
- _InsertMenuItemW(pqcminfo->hmenu, pqcminfo->indexMenu++, TRUE,
FCIDM_SHVIEW_PROPERTIES, MFT_STRING, MAKEINTRESOURCEW(IDS_PROPERTIES), MFS_ENABLED);
+ HMENU hpopup = CreatePopupMenu();
+ _InsertMenuItemW(hpopup, 0, TRUE, 0, MFT_STRING,
MAKEINTRESOURCEW(IDS_PROPERTIES), MFS_ENABLED);
+ Shell_MergeMenus(pqcminfo->hmenu, hpopup, pqcminfo->indexMenu++,
pqcminfo->idCmdFirst, pqcminfo->idCmdLast, MM_ADDSEPARATOR);
+ DestroyMenu(hpopup);
}
return S_OK;
Modified: trunk/reactos/dll/win32/shell32/folders/CFSFolder.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/folders/…
==============================================================================
--- trunk/reactos/dll/win32/shell32/folders/CFSFolder.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/folders/CFSFolder.cpp [iso-8859-1] Mon Aug 14 15:25:58
2017
@@ -1500,7 +1500,7 @@
/* no data object means no selection */
if (!pdtobj)
{
- if (uMsg == DFM_INVOKECOMMAND && wParam == DFM_CMD_PROPERTIES)
+ if (uMsg == DFM_INVOKECOMMAND && wParam == 0)
{
PUITEMID_CHILD pidlChild = ILClone(ILFindLastID(pidlRoot));
LPITEMIDLIST pidlParent = ILClone(pidlRoot);
@@ -1514,8 +1514,10 @@
else if (uMsg == DFM_MERGECONTEXTMENU)
{
QCMINFO *pqcminfo = (QCMINFO *)lParam;
- _InsertMenuItemW(pqcminfo->hmenu, pqcminfo->indexMenu++, TRUE, 0,
MFT_SEPARATOR, NULL, 0);
- _InsertMenuItemW(pqcminfo->hmenu, pqcminfo->indexMenu++, TRUE,
FCIDM_SHVIEW_PROPERTIES, MFT_STRING, MAKEINTRESOURCEW(IDS_PROPERTIES), MFS_ENABLED);
+ HMENU hpopup = CreatePopupMenu();
+ _InsertMenuItemW(hpopup, 0, TRUE, 0, MFT_STRING,
MAKEINTRESOURCEW(IDS_PROPERTIES), MFS_ENABLED);
+ Shell_MergeMenus(pqcminfo->hmenu, hpopup, pqcminfo->indexMenu++,
pqcminfo->idCmdFirst, pqcminfo->idCmdLast, MM_ADDSEPARATOR);
+ DestroyMenu(hpopup);
}
return S_OK;
Modified: trunk/reactos/dll/win32/shell32/lang/bg-BG.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/bg-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/bg-BG.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/bg-BG.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "&ÐбзоÑ", FCIDM_SHVIEW_EXPLORE
- MENUITEM "Ð&ÑваÑÑне", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "Ðз&ÑÑзване", FCIDM_SHVIEW_CUT
- MENUITEM "Ðа&помнÑне", FCIDM_SHVIEW_COPY
+ MENUITEM "Ðз&ÑÑзване", IDM_CUT
+ MENUITEM "Ðа&помнÑне", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "СÑздаване на &вÑÑзка",
FCIDM_SHVIEW_CREATELINK
- MENUITEM "Ðз&ÑÑиване", FCIDM_SHVIEW_DELETE
- MENUITEM "ÐÑе&именÑване", FCIDM_SHVIEW_RENAME
+ MENUITEM "СÑздаване на &вÑÑзка", IDM_CREATELINK
+ MENUITEM "Ðз&ÑÑиване", IDM_DELETE
+ MENUITEM "ÐÑе&именÑване", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&СвойÑÑва", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&СвойÑÑва", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/ca-ES.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/ca-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/ca-ES.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/ca-ES.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "E&xplore", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Open", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "C&ut", FCIDM_SHVIEW_CUT
- MENUITEM "&Copy", FCIDM_SHVIEW_COPY
+ MENUITEM "C&ut", IDM_CUT
+ MENUITEM "&Copy", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "Create &Link", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&Delete", FCIDM_SHVIEW_DELETE
- MENUITEM "&Rename", FCIDM_SHVIEW_RENAME
+ MENUITEM "Create &Link", IDM_CREATELINK
+ MENUITEM "&Delete", IDM_DELETE
+ MENUITEM "&Rename", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&Properties", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&Properties", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/cs-CZ.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/cs-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/cs-CZ.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/cs-CZ.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -69,17 +69,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "P&rozkoumat", FCIDM_SHVIEW_EXPLORE
- MENUITEM "O&tevÅÃt", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "Vyj&mout", FCIDM_SHVIEW_CUT
- MENUITEM "&KopÃrovat", FCIDM_SHVIEW_COPY
+ MENUITEM "Vyj&mout", IDM_CUT
+ MENUITEM "&KopÃrovat", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "VytvoÅit zástupc&e", FCIDM_SHVIEW_CREATELINK
- MENUITEM "O&dstranit", FCIDM_SHVIEW_DELETE
- MENUITEM "&PÅejmenovat", FCIDM_SHVIEW_RENAME
+ MENUITEM "VytvoÅit zástupc&e", IDM_CREATELINK
+ MENUITEM "O&dstranit", IDM_DELETE
+ MENUITEM "&PÅejmenovat", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&Vlastnosti", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&Vlastnosti", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/da-DK.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/da-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/da-DK.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/da-DK.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -69,17 +69,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "E&xplore", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Ã
bn", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "K&lip", FCIDM_SHVIEW_CUT
- MENUITEM "&Kopiere", FCIDM_SHVIEW_COPY
+ MENUITEM "K&lip", IDM_CUT
+ MENUITEM "&Kopiere", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "Opret &Link", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&Slet", FCIDM_SHVIEW_DELETE
- MENUITEM "&Omdøb", FCIDM_SHVIEW_RENAME
+ MENUITEM "Opret &Link", IDM_CREATELINK
+ MENUITEM "&Slet", IDM_DELETE
+ MENUITEM "&Omdøb", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&Egenskabe", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&Egenskabe", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/de-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/de-DE.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/de-DE.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "E&xplorer", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Ãffnen", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "&Ausschneiden", FCIDM_SHVIEW_CUT
- MENUITEM "&Kopieren", FCIDM_SHVIEW_COPY
+ MENUITEM "&Ausschneiden", IDM_CUT
+ MENUITEM "&Kopieren", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "&Verknüpfung erstellen", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&Löschen", FCIDM_SHVIEW_DELETE
- MENUITEM "&Umbenennen", FCIDM_SHVIEW_RENAME
+ MENUITEM "&Verknüpfung erstellen", IDM_CREATELINK
+ MENUITEM "&Löschen", IDM_DELETE
+ MENUITEM "&Umbenennen", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&Eigenschaften", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&Eigenschaften", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/el-GR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/el-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/el-GR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/el-GR.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "&ÎξεÏεÏνηÏη", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Îνοιγμα", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "Î&ÏοκοÏή", FCIDM_SHVIEW_CUT
- MENUITEM "Î&νÏιγÏαÏή", FCIDM_SHVIEW_COPY
+ MENUITEM "Î&ÏοκοÏή", IDM_CUT
+ MENUITEM "Î&νÏιγÏαÏή", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "ÎημιοÏ
Ïγία &ÏÏ
νÏÏμεÏ
ÏηÏ", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&ÎιαγÏαÏή", FCIDM_SHVIEW_DELETE
- MENUITEM "&ÎεÏονομαÏία", FCIDM_SHVIEW_RENAME
+ MENUITEM "ÎημιοÏ
Ïγία &ÏÏ
νÏÏμεÏ
ÏηÏ", IDM_CREATELINK
+ MENUITEM "&ÎιαγÏαÏή", IDM_DELETE
+ MENUITEM "&ÎεÏονομαÏία", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&ÎδιÏÏηÏεÏ", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&ÎδιÏÏηÏεÏ", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/en-GB.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/en-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/en-GB.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/en-GB.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "E&xplore", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Open", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "C&ut", FCIDM_SHVIEW_CUT
- MENUITEM "&Copy", FCIDM_SHVIEW_COPY
+ MENUITEM "C&ut", IDM_CUT
+ MENUITEM "&Copy", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "Create &Link", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&Delete", FCIDM_SHVIEW_DELETE
- MENUITEM "&Rename", FCIDM_SHVIEW_RENAME
+ MENUITEM "Create &Link", IDM_CREATELINK
+ MENUITEM "&Delete", IDM_DELETE
+ MENUITEM "&Rename", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&Properties", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&Properties", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/en-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/en-US.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/en-US.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,16 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "E&xplore", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Open", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "Cu&t", FCIDM_SHVIEW_CUT
- MENUITEM "&Copy", FCIDM_SHVIEW_COPY
+ MENUITEM "Cu&t", IDM_CUT
+ MENUITEM "&Copy", IDM_COPY
+ MENUITEM "Paste", IDM_INSERT
MENUITEM SEPARATOR
- MENUITEM "Create &Link", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&Delete", FCIDM_SHVIEW_DELETE
- MENUITEM "&Rename", FCIDM_SHVIEW_RENAME
+ MENUITEM "Create &Link", IDM_CREATELINK
+ MENUITEM "&Delete", IDM_DELETE
+ MENUITEM "&Rename", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&Properties", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&Properties", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/es-ES.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/es-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/es-ES.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/es-ES.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -65,17 +65,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "E&xplorar", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Abrir", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "C&ortar", FCIDM_SHVIEW_CUT
- MENUITEM "&Copiar", FCIDM_SHVIEW_COPY
+ MENUITEM "C&ortar", IDM_CUT
+ MENUITEM "&Copiar", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "C&rear acceso directo", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&Eliminar", FCIDM_SHVIEW_DELETE
- MENUITEM "Re&nombrar", FCIDM_SHVIEW_RENAME
+ MENUITEM "C&rear acceso directo", IDM_CREATELINK
+ MENUITEM "&Eliminar", IDM_DELETE
+ MENUITEM "Re&nombrar", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&Propiedades", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&Propiedades", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/fi-FI.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/fi-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/fi-FI.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/fi-FI.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "&Selaa", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Avaa", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "&Leikkaa", FCIDM_SHVIEW_CUT
- MENUITEM "&Kopioi", FCIDM_SHVIEW_COPY
+ MENUITEM "&Leikkaa", IDM_CUT
+ MENUITEM "&Kopioi", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "Lu&o Linkki", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&Poista", FCIDM_SHVIEW_DELETE
- MENUITEM "&Nimeä Uudelleen", FCIDM_SHVIEW_RENAME
+ MENUITEM "Lu&o Linkki", IDM_CREATELINK
+ MENUITEM "&Poista", IDM_DELETE
+ MENUITEM "&Nimeä Uudelleen", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&Ominaisuudet", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&Ominaisuudet", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/fr-FR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/fr-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/fr-FR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/fr-FR.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "E&xplorer", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Ouvrir", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "C&ouper", FCIDM_SHVIEW_CUT
- MENUITEM "&Copier", FCIDM_SHVIEW_COPY
+ MENUITEM "C&ouper", IDM_CUT
+ MENUITEM "&Copier", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "Créer un &lien", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&Supprimer", FCIDM_SHVIEW_DELETE
- MENUITEM "&Renommer", FCIDM_SHVIEW_RENAME
+ MENUITEM "Créer un &lien", IDM_CREATELINK
+ MENUITEM "&Supprimer", IDM_DELETE
+ MENUITEM "&Renommer", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&Propriétés", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&Propriétés", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/he-IL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/he-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/he-IL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/he-IL.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "ס××ר", FCIDM_SHVIEW_EXPLORE
- MENUITEM "פת×", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "×××ר", FCIDM_SHVIEW_CUT
- MENUITEM "×עתק", FCIDM_SHVIEW_COPY
+ MENUITEM "×××ר", IDM_CUT
+ MENUITEM "×עתק", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "צ×ר ק×ש×ר", FCIDM_SHVIEW_CREATELINK
- MENUITEM "××ק", FCIDM_SHVIEW_DELETE
- MENUITEM "×©× × ×©×", FCIDM_SHVIEW_RENAME
+ MENUITEM "צ×ר ק×ש×ר", IDM_CREATELINK
+ MENUITEM "××ק", IDM_DELETE
+ MENUITEM "×©× × ×©×", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "××פ××× ××", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "××פ××× ××", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/hu-HU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/hu-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/hu-HU.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/hu-HU.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "B&öngész", FCIDM_SHVIEW_EXPLORE
- MENUITEM "Megnyit", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "Kivágás", FCIDM_SHVIEW_CUT
- MENUITEM "Másolás", FCIDM_SHVIEW_COPY
+ MENUITEM "Kivágás", IDM_CUT
+ MENUITEM "Másolás", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "Parancsikon létrehozása", FCIDM_SHVIEW_CREATELINK
- MENUITEM "Törlés", FCIDM_SHVIEW_DELETE
- MENUITEM "Ãtnevezés", FCIDM_SHVIEW_RENAME
+ MENUITEM "Parancsikon létrehozása", IDM_CREATELINK
+ MENUITEM "Törlés", IDM_DELETE
+ MENUITEM "Ãtnevezés", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "Tulajdonságok", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "Tulajdonságok", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/it-IT.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/it-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/it-IT.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/it-IT.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "E&splora", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Apri", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "&Taglia", FCIDM_SHVIEW_CUT
- MENUITEM "&Copia", FCIDM_SHVIEW_COPY
+ MENUITEM "&Taglia", IDM_CUT
+ MENUITEM "&Copia", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "&Crea Collegamento", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&Cancella", FCIDM_SHVIEW_DELETE
- MENUITEM "&Rinomina", FCIDM_SHVIEW_RENAME
+ MENUITEM "&Crea Collegamento", IDM_CREATELINK
+ MENUITEM "&Cancella", IDM_DELETE
+ MENUITEM "&Rinomina", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&Proprietà ", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&Proprietà ", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/ja-JP.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/ja-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/ja-JP.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/ja-JP.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "ã¨ã¯ã¹ããã¼ã©(&X)", FCIDM_SHVIEW_EXPLORE
- MENUITEM "éã(&O)", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "åãåã(&U)", FCIDM_SHVIEW_CUT
- MENUITEM "ã³ãã¼(&C)", FCIDM_SHVIEW_COPY
+ MENUITEM "åãåã(&U)", IDM_CUT
+ MENUITEM "ã³ãã¼(&C)", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "ã·ã§ã¼ãã«ããã®ä½æ(&L)",
FCIDM_SHVIEW_CREATELINK
- MENUITEM "åé¤(&D)", FCIDM_SHVIEW_DELETE
- MENUITEM "ååã®å¤æ´(&R)", FCIDM_SHVIEW_RENAME
+ MENUITEM "ã·ã§ã¼ãã«ããã®ä½æ(&L)", IDM_CREATELINK
+ MENUITEM "åé¤(&D)", IDM_DELETE
+ MENUITEM "ååã®å¤æ´(&R)", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "ããããã£(&P)", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "ããããã£(&P)", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/ko-KR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/ko-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/ko-KR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/ko-KR.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "E&xplore", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Open", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "C&ut", FCIDM_SHVIEW_CUT
- MENUITEM "&Copy", FCIDM_SHVIEW_COPY
+ MENUITEM "C&ut", IDM_CUT
+ MENUITEM "&Copy", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "Create &Link", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&Delete", FCIDM_SHVIEW_DELETE
- MENUITEM "&Rename", FCIDM_SHVIEW_RENAME
+ MENUITEM "Create &Link", IDM_CREATELINK
+ MENUITEM "&Delete", IDM_DELETE
+ MENUITEM "&Rename", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&Properties", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&Properties", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/nl-NL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/nl-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/nl-NL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/nl-NL.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "E&xplore", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Open", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "C&ut", FCIDM_SHVIEW_CUT
- MENUITEM "&Copy", FCIDM_SHVIEW_COPY
+ MENUITEM "C&ut", IDM_CUT
+ MENUITEM "&Copy", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "Create &Link", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&Delete", FCIDM_SHVIEW_DELETE
- MENUITEM "&Rename", FCIDM_SHVIEW_RENAME
+ MENUITEM "Create &Link", IDM_CREATELINK
+ MENUITEM "&Delete", IDM_DELETE
+ MENUITEM "&Rename", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&Properties", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&Properties", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/no-NO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/no-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/no-NO.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/no-NO.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "&Utforsk", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Ã
pne", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "Klipp &ut", FCIDM_SHVIEW_CUT
- MENUITEM "&Kopier", FCIDM_SHVIEW_COPY
+ MENUITEM "Klipp &ut", IDM_CUT
+ MENUITEM "&Kopier", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "&Opprett snarvei", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&Slett", FCIDM_SHVIEW_DELETE
- MENUITEM "&Gi nytt navn", FCIDM_SHVIEW_RENAME
+ MENUITEM "&Opprett snarvei", IDM_CREATELINK
+ MENUITEM "&Slett", IDM_DELETE
+ MENUITEM "&Gi nytt navn", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "Egenska&per", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "Egenska&per", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/pl-PL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/pl-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/pl-PL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/pl-PL.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -67,17 +67,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "&Eksploruj", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Otwórz", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "&Wytnij", FCIDM_SHVIEW_CUT
- MENUITEM "&Kopiuj", FCIDM_SHVIEW_COPY
+ MENUITEM "&Wytnij", IDM_CUT
+ MENUITEM "&Kopiuj", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "Utwórz &Skrót", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&UsuÅ", FCIDM_SHVIEW_DELETE
- MENUITEM "&ZmieÅ nazwÄ", FCIDM_SHVIEW_RENAME
+ MENUITEM "Utwórz &Skrót", IDM_CREATELINK
+ MENUITEM "&UsuÅ", IDM_DELETE
+ MENUITEM "&ZmieÅ nazwÄ", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "WÅ&aÅciwoÅci", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "WÅ&aÅciwoÅci", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/pt-BR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/pt-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/pt-BR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/pt-BR.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "&Explorar", FCIDM_SHVIEW_EXPLORE
- MENUITEM "A&brir", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "C&ortar", FCIDM_SHVIEW_CUT
- MENUITEM "&Copiar", FCIDM_SHVIEW_COPY
+ MENUITEM "C&ortar", IDM_CUT
+ MENUITEM "&Copiar", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "Criar a&talho", FCIDM_SHVIEW_CREATELINK
- MENUITEM "E&xcluir", FCIDM_SHVIEW_DELETE
- MENUITEM "&Renomear", FCIDM_SHVIEW_RENAME
+ MENUITEM "Criar a&talho", IDM_CREATELINK
+ MENUITEM "E&xcluir", IDM_DELETE
+ MENUITEM "&Renomear", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&Propriedades", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&Propriedades", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/pt-PT.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/pt-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/pt-PT.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/pt-PT.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "E&xplorador", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Abrir", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "C&ortar", FCIDM_SHVIEW_CUT
- MENUITEM "&Copiar", FCIDM_SHVIEW_COPY
+ MENUITEM "C&ortar", IDM_CUT
+ MENUITEM "&Copiar", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "Criar &Link", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&Apagar", FCIDM_SHVIEW_DELETE
- MENUITEM "&Renomear", FCIDM_SHVIEW_RENAME
+ MENUITEM "Criar &Link", IDM_CREATELINK
+ MENUITEM "&Apagar", IDM_DELETE
+ MENUITEM "&Renomear", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&Propriadades", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&Propriadades", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/ro-RO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/ro-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/ro-RO.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/ro-RO.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -65,17 +65,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "E&xploreazÄ", FCIDM_SHVIEW_EXPLORE
- MENUITEM "Desc&hide", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "&DecupeazÄ", FCIDM_SHVIEW_CUT
- MENUITEM "&CopiazÄ", FCIDM_SHVIEW_COPY
+ MENUITEM "&DecupeazÄ", IDM_CUT
+ MENUITEM "&CopiazÄ", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "CreazÄ sc&urtÄturÄ", FCIDM_SHVIEW_CREATELINK
- MENUITEM "Èt&erge", FCIDM_SHVIEW_DELETE
- MENUITEM "&RedenumeÈte", FCIDM_SHVIEW_RENAME
+ MENUITEM "CreazÄ sc&urtÄturÄ", IDM_CREATELINK
+ MENUITEM "Èt&erge", IDM_DELETE
+ MENUITEM "&RedenumeÈte", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&ProprietÄÈi", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&ProprietÄÈi", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/ru-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/ru-RU.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/ru-RU.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -65,17 +65,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "&ÐÑоводник", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&ÐÑкÑÑÑÑ", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "&ÐÑÑезаÑÑ", FCIDM_SHVIEW_CUT
- MENUITEM "&ÐопиÑоваÑÑ", FCIDM_SHVIEW_COPY
+ MENUITEM "&ÐÑÑезаÑÑ", IDM_CUT
+ MENUITEM "&ÐопиÑоваÑÑ", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "СоздаÑÑ &ÑÑлÑк", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&УдалиÑÑ", FCIDM_SHVIEW_DELETE
- MENUITEM "ÐеÑеи&меноваÑÑ", FCIDM_SHVIEW_RENAME
+ MENUITEM "СоздаÑÑ &ÑÑлÑк", IDM_CREATELINK
+ MENUITEM "&УдалиÑÑ", IDM_DELETE
+ MENUITEM "ÐеÑеи&меноваÑÑ", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "Сво&йÑÑва", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "Сво&йÑÑва", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/sk-SK.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/sk-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/sk-SK.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/sk-SK.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "&Preskúmať", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Otvoriť", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "&Vystrihnúť", FCIDM_SHVIEW_CUT
- MENUITEM "&KopÃrovaÅ¥", FCIDM_SHVIEW_COPY
+ MENUITEM "&Vystrihnúť", IDM_CUT
+ MENUITEM "&KopÃrovaÅ¥", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "Vytvoriť o&dkaz", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&Odstrániť", FCIDM_SHVIEW_DELETE
- MENUITEM "Pre&menovať", FCIDM_SHVIEW_RENAME
+ MENUITEM "Vytvoriť o&dkaz", IDM_CREATELINK
+ MENUITEM "&Odstrániť", IDM_DELETE
+ MENUITEM "Pre&menovať", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "Vl&astnosti", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "Vl&astnosti", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/sl-SI.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/sl-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/sl-SI.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/sl-SI.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "E&xplore", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Open", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "C&ut", FCIDM_SHVIEW_CUT
- MENUITEM "&Copy", FCIDM_SHVIEW_COPY
+ MENUITEM "C&ut", IDM_CUT
+ MENUITEM "&Copy", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "Create &Link", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&Delete", FCIDM_SHVIEW_DELETE
- MENUITEM "&Rename", FCIDM_SHVIEW_RENAME
+ MENUITEM "Create &Link", IDM_CREATELINK
+ MENUITEM "&Delete", IDM_DELETE
+ MENUITEM "&Rename", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&Properties", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&Properties", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/sq-AL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/sq-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/sq-AL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/sq-AL.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -67,17 +67,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "E&xplorues", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Hap", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "Prej", FCIDM_SHVIEW_CUT
- MENUITEM "&Kopjo", FCIDM_SHVIEW_COPY
+ MENUITEM "Prej", IDM_CUT
+ MENUITEM "&Kopjo", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "Krijo &Lidhje", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&Fshi", FCIDM_SHVIEW_DELETE
- MENUITEM "&Riemërto", FCIDM_SHVIEW_RENAME
+ MENUITEM "Krijo &Lidhje", IDM_CREATELINK
+ MENUITEM "&Fshi", IDM_DELETE
+ MENUITEM "&Riemërto", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&Cilësime", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&Cilësime", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/sv-SE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/sv-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/sv-SE.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/sv-SE.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "U&tforska", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Ãppna", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "K&lipp ut", FCIDM_SHVIEW_CUT
- MENUITEM "&Kopiera", FCIDM_SHVIEW_COPY
+ MENUITEM "K&lipp ut", IDM_CUT
+ MENUITEM "&Kopiera", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "Skapa &genväg", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&Ta bort", FCIDM_SHVIEW_DELETE
- MENUITEM "&Byt namn", FCIDM_SHVIEW_RENAME
+ MENUITEM "Skapa &genväg", IDM_CREATELINK
+ MENUITEM "&Ta bort", IDM_DELETE
+ MENUITEM "&Byt namn", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&Egenskaper", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&Egenskaper", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/tr-TR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/tr-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/tr-TR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/tr-TR.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -65,17 +65,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "A&raÅtır", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Aç", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "&Kes", FCIDM_SHVIEW_CUT
- MENUITEM "&ÃoÄalt", FCIDM_SHVIEW_COPY
+ MENUITEM "&Kes", IDM_CUT
+ MENUITEM "&ÃoÄalt", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "K&ısayol OluÅtur", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&Sil", FCIDM_SHVIEW_DELETE
- MENUITEM "&Yeniden Adlandır", FCIDM_SHVIEW_RENAME
+ MENUITEM "K&ısayol OluÅtur", IDM_CREATELINK
+ MENUITEM "&Sil", IDM_DELETE
+ MENUITEM "&Yeniden Adlandır", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&Husûsîyetler", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&Husûsîyetler", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/uk-UA.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/uk-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/uk-UA.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/uk-UA.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -63,17 +63,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "&ÐÑовÑдник", FCIDM_SHVIEW_EXPLORE
- MENUITEM "Ð&ÑдкÑиÑи", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "&ÐиÑÑзаÑи", FCIDM_SHVIEW_CUT
- MENUITEM "&ÐопÑÑваÑи", FCIDM_SHVIEW_COPY
+ MENUITEM "&ÐиÑÑзаÑи", IDM_CUT
+ MENUITEM "&ÐопÑÑваÑи", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "СÑвоÑиÑи &ÑÑлик", FCIDM_SHVIEW_CREATELINK
- MENUITEM "Ð&идалиÑи", FCIDM_SHVIEW_DELETE
- MENUITEM "ÐеÑей&менÑваÑи", FCIDM_SHVIEW_RENAME
+ MENUITEM "СÑвоÑиÑи &ÑÑлик", IDM_CREATELINK
+ MENUITEM "Ð&идалиÑи", IDM_DELETE
+ MENUITEM "ÐеÑей&менÑваÑи", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "Ð&лаÑÑивоÑÑÑ", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "Ð&лаÑÑивоÑÑÑ", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/zh-CN.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/zh-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/zh-CN.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/zh-CN.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -72,17 +72,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "æµè§(&X)", FCIDM_SHVIEW_EXPLORE
- MENUITEM "æå¼(&O)", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "åªå(&U)", FCIDM_SHVIEW_CUT
- MENUITEM "å¤å¶(&C)", FCIDM_SHVIEW_COPY
+ MENUITEM "åªå(&U)", IDM_CUT
+ MENUITEM "å¤å¶(&C)", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "å建快æ·æ¹å¼(&L)", FCIDM_SHVIEW_CREATELINK
- MENUITEM "å é¤(&D)", FCIDM_SHVIEW_DELETE
- MENUITEM "éå½å(&R)", FCIDM_SHVIEW_RENAME
+ MENUITEM "å建快æ·æ¹å¼(&L)", IDM_CREATELINK
+ MENUITEM "å é¤(&D)", IDM_DELETE
+ MENUITEM "éå½å(&R)", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "å±æ§(&P)", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "å±æ§(&P)", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/lang/zh-TW.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/zh-…
==============================================================================
--- trunk/reactos/dll/win32/shell32/lang/zh-TW.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/lang/zh-TW.rc [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -71,17 +71,15 @@
BEGIN
POPUP ""
BEGIN
- MENUITEM "E&xplore", FCIDM_SHVIEW_EXPLORE
- MENUITEM "&Open", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
- MENUITEM "C&ut", FCIDM_SHVIEW_CUT
- MENUITEM "&Copy", FCIDM_SHVIEW_COPY
+ MENUITEM "C&ut", IDM_CUT
+ MENUITEM "&Copy", IDM_COPY
MENUITEM SEPARATOR
- MENUITEM "Create &Link", FCIDM_SHVIEW_CREATELINK
- MENUITEM "&Delete", FCIDM_SHVIEW_DELETE
- MENUITEM "&Rename", FCIDM_SHVIEW_RENAME
+ MENUITEM "Create &Link", IDM_CREATELINK
+ MENUITEM "&Delete", IDM_DELETE
+ MENUITEM "&Rename", IDM_RENAME
MENUITEM SEPARATOR
- MENUITEM "&Properties", FCIDM_SHVIEW_PROPERTIES
+ MENUITEM "&Properties", IDM_PROPERTIES
END
END
Modified: trunk/reactos/dll/win32/shell32/shresdef.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shresdef…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shresdef.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shresdef.h [iso-8859-1] Mon Aug 14 15:25:58 2017
@@ -658,6 +658,14 @@
#define FCIDM_TB_REPORTVIEW 0xA004
#define FCIDM_TB_DESKTOP 0xA005 /* FIXME */
+#define IDM_CUT (FCIDM_SHVIEW_CUT - 0x7000)
+#define IDM_COPY (FCIDM_SHVIEW_COPY - 0x7000)
+#define IDM_INSERT (FCIDM_SHVIEW_INSERT - 0x7000)
+#define IDM_CREATELINK (FCIDM_SHVIEW_CREATELINK - 0x7000)
+#define IDM_DELETE (FCIDM_SHVIEW_DELETE - 0x7000)
+#define IDM_RENAME (FCIDM_SHVIEW_RENAME - 0x7000)
+#define IDM_PROPERTIES (FCIDM_SHVIEW_PROPERTIES - 0x7000)
+
/* Registrar scripts (RGS) */
#define IDR_ADMINFOLDERSHORTCUT 128
#define IDR_CONTROLPANEL 130