diff options
Diffstat (limited to 'c/main.c')
-rw-r--r-- | c/main.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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: |