Commit a33c958e authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

shell32: Use a MENUEX resource for the context menu.

This ensures the submenus can be given ids below FCIDM_SHVIEWLAST and so don't get stripped out by SHELL_MergeMenus(). Signed-off-by: 's avatarHuw Davies <huw@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 734dc8f2
......@@ -35,11 +35,11 @@ END
/*
shellview background menu
*/
MENU_002 MENU
MENU_002 MENUEX
BEGIN
POPUP ""
BEGIN
POPUP "&View"
POPUP "&View", 0x40 /* Submenus need ids <= FCIDM_SHVIEWLAST so they don't get removed by MergeMenu */
BEGIN
MENUITEM "Lar&ge Icons", FCIDM_SHVIEW_BIGICON
MENUITEM "S&mall Icons", FCIDM_SHVIEW_SMALLICON
......@@ -47,7 +47,7 @@ BEGIN
MENUITEM "&Details", FCIDM_SHVIEW_REPORTVIEW
END
MENUITEM SEPARATOR
POPUP "Arrange &Icons"
POPUP "Arrange &Icons", 0x41
BEGIN
MENUITEM "By &Name", 0x30 /* column 0 */
MENUITEM "By &Type", 0x32 /* column 2 */
......@@ -63,7 +63,7 @@ BEGIN
MENUITEM "Paste", FCIDM_SHVIEW_INSERT
MENUITEM "Paste as Link", FCIDM_SHVIEW_INSERTLINK
MENUITEM SEPARATOR
POPUP "New"
POPUP "New", 0x42
BEGIN
MENUITEM "New &Folder", FCIDM_SHVIEW_NEWFOLDER
MENUITEM "New &Link", FCIDM_SHVIEW_NEWLINK
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment