https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6cf443d6d7cee35b4c511…
commit 6cf443d6d7cee35b4c511ff4332e4086f04ccb75
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Feb 10 12:53:08 2019 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Feb 10 12:53:08 2019 +0100
[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 3cc5ba0bcf..fde487706e 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;
}