[SNDVOL32] Disable the 'Advanced Controls' menu item by default.
authorEric Kohl <eric.kohl@reactos.org>
Sun, 10 Feb 2019 11:53:08 +0000 (12:53 +0100)
committerEric Kohl <eric.kohl@reactos.org>
Sun, 10 Feb 2019 11:53:08 +0000 (12:53 +0100)
base/applications/sndvol32/sndvol32.c

index 3cc5ba0..fde4877 100644 (file)
@@ -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;
         }