From 6cf443d6d7cee35b4c511ff4332e4086f04ccb75 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sun, 10 Feb 2019 12:53:08 +0100 Subject: [PATCH] [SNDVOL32] Disable the 'Advanced Controls' menu item by default. --- base/applications/sndvol32/sndvol32.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base/applications/sndvol32/sndvol32.c b/base/applications/sndvol32/sndvol32.c index 3cc5ba0bcf7..fde487706e6 100644 --- a/base/applications/sndvol32/sndvol32.c +++ b/base/applications/sndvol32/sndvol32.c @@ -1055,6 +1055,9 @@ MainWindowProc(HWND hwnd, (LPARAM)szProduct); } } + + /* Disable the 'Advanced Controls' menu item */ + EnableMenuItem(GetMenu(hwnd), IDC_ADVANCED_CONTROLS, MF_BYCOMMAND | MF_GRAYED); } break; }