[EXPLORER][SHELL32] Strengthen Start Menu Customize Part 1 (#6544)
[reactos.git] / base / shell / explorer / traywnd.cpp
index 5aacfa4..bfb9abb 100644 (file)
@@ -2658,6 +2658,15 @@ ChangePos:
             CheckTrayWndPosition();
         }
 
+        if (m_StartMenuPopup && lstrcmpiW((LPCWSTR)lParam, L"TraySettings") == 0)
+        {
+            /* Re-create the start menu */
+            HideStartMenu();
+            m_StartMenuBand.Release();
+            HBITMAP hbmBanner = LoadBitmapW(hExplorerInstance, MAKEINTRESOURCEW(IDB_STARTMENU));
+            m_StartMenuPopup = CreateStartMenu(this, &m_StartMenuBand, hbmBanner, FALSE);
+        }
+
         return 0;
     }