Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2013-05-11 23:56:38 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2013-05-11 23:56:38 +0400
commitd31aedce803a1eb9c35f4236fd37651aaa6d7613 (patch)
tree5d0efe42379d7062994be7951e8e7906f8066159
parent6521f1f9f02e2691ae3b439e1f656d5384da2c3a (diff)
Use radio-like checkmarks in popup menus
-rw-r--r--common/DSUtilLite/PopupMenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/DSUtilLite/PopupMenu.cpp b/common/DSUtilLite/PopupMenu.cpp
index 044e3dbd..11a9e077 100644
--- a/common/DSUtilLite/PopupMenu.cpp
+++ b/common/DSUtilLite/PopupMenu.cpp
@@ -39,7 +39,7 @@ HRESULT CPopupMenu::AddItem(UINT id, LPWSTR caption, BOOL checked, BOOL enabled)
MENUITEMINFO mii;
mii.cbSize = sizeof(mii);
mii.fMask = MIIM_ID | MIIM_STATE | MIIM_FTYPE | MIIM_STRING;
- mii.fType = MFT_STRING;
+ mii.fType = MFT_STRING | MFT_RADIOCHECK;
mii.wID = id;
mii.fState = (checked ? MFS_CHECKED : 0) | (!enabled ? MFS_DISABLED : 0);
mii.dwTypeData = caption;