From e1c60aecb7f39d76de02600d0b3ca77b5a08a4f0 Mon Sep 17 00:00:00 2001 From: Matthew Wigley <> Date: Sun, 27 Jul 2025 11:18:03 +1200 Subject: [PATCH] Don't hide the control center option - it should be fixed properly --- ep_gui/GUI.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/ep_gui/GUI.c b/ep_gui/GUI.c index 0aa86a3..0c08253 100644 --- a/ep_gui/GUI.c +++ b/ep_gui/GUI.c @@ -2575,26 +2575,17 @@ static BOOL GUI_Build(HDC hDC, HWND hwnd, POINT pt) { if (IsWindows11Build25346OrHigher()) { + // Hide the win8 network flyout as an option on Win 11 after 25346 as van.dll was removed MENUITEMINFOA menuInfo; ZeroMemory(&menuInfo, sizeof(MENUITEMINFOA)); menuInfo.cbSize = sizeof(MENUITEMINFOA); menuInfo.fMask = MIIM_DATA; - - // Hide the win8 network flyout as an option on Win 11 after 25346 as van.dll was removed GetMenuItemInfoA(hMenu, 3, FALSE, &menuInfo); if (menuInfo.dwItemData) { free(menuInfo.dwItemData); } RemoveMenu(hMenu, 3, MF_BYCOMMAND); - - // Hide the control center option as this doesn't work either - GetMenuItemInfoA(hMenu, 7, FALSE, &menuInfo); - if (menuInfo.dwItemData) - { - free(menuInfo.dwItemData); - } - RemoveMenu(hMenu, 7, MF_BYCOMMAND); } } HKEY hKey = NULL;