aboutsummaryrefslogtreecommitdiff
path: root/c/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/main.c')
-rw-r--r--c/main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/c/main.c b/c/main.c
index a03e7b5..fcb8d81 100644
--- a/c/main.c
+++ b/c/main.c
@@ -11,6 +11,7 @@ HFONT HfBold;
HMENU HPopupMenu;
HWND HFocus;
HWND HWnd;
+int BViewWatched = 1;
int IDPI = -1;
static int BThemes;
static int CxVScroll;
@@ -198,6 +199,15 @@ WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
AboutDlgProc
);
break;
+ case ID_VIEW_WATCHED:
+ {
+ HMENU hMenu;
+ hMenu = GetMenu(hWnd);
+ CheckMenuItem(hMenu, ID_VIEW_WATCHED, BViewWatched? MF_UNCHECKED: MF_CHECKED);
+ BViewWatched = !BViewWatched;
+ ElvUpdate();
+ break;
+ }
case ID_WATCH:
case ID_TOGGLE:
case ID_FORGET: