diff options
author | John Ankarström <john@ankarstrom.se> | 2022-04-04 00:20:49 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-04-04 00:20:49 +0200 |
commit | d77a1f32a0ea391628a6c43dcfe02f648f1ae488 (patch) | |
tree | 4959501317839739cf77a643afae375fec44e0a5 /c | |
parent | 30824adc5ee4b97e58038fb2e244548255e19ab1 (diff) | |
download | EpisodeBrowser-d77a1f32a0ea391628a6c43dcfe02f648f1ae488.tar.gz |
Show onfocused list view selection with gray background.
Diffstat (limited to 'c')
-rw-r--r-- | c/episodelistview.c | 1 | ||||
-rw-r--r-- | c/listview.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/c/episodelistview.c b/c/episodelistview.c index cc300f4..54c8b8c 100644 --- a/c/episodelistview.c +++ b/c/episodelistview.c @@ -195,6 +195,7 @@ ElvUpdate() if (!tszName) return; /* Format episode number string. */ + ep: cb = 100; tszEpisode = malloc(cb*sizeof(TCHAR)); if (!tszEpisode) goto e; diff --git a/c/listview.c b/c/listview.c index 8a96219..e357905 100644 --- a/c/listview.c +++ b/c/listview.c @@ -20,7 +20,7 @@ LvCreate(HMENU hMenu) WC_LISTVIEW, TEXT(""), WS_CHILD|WS_VISIBLE|WS_VSCROLL|WS_TABSTOP - |LVS_REPORT|LVS_NOSORTHEADER, + |LVS_REPORT|LVS_NOSORTHEADER|LVS_SHOWSELALWAYS, 0, 0, 0, 0, HWnd, hMenu, GetModuleHandle(NULL), NULL ); |