aboutsummaryrefslogtreecommitdiff
path: root/c/listview.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-03 19:11:15 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-03 19:11:15 +0200
commit5fb8df682831045c4619b65403c4a24d7583d2e9 (patch)
treed84973aa41a6e7f5230a9510c467321e0dd88433 /c/listview.h
parentdf88618efb32274e7b21493c48483d4761d2f9a3 (diff)
downloadEpisodeBrowser-5fb8df682831045c4619b65403c4a24d7583d2e9.tar.gz
Remove m_bHeader from ListView.
If it is relevant to add height for a header for a given list view, it is better to override Height and do it there.
Diffstat (limited to 'c/listview.h')
-rw-r--r--c/listview.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/c/listview.h b/c/listview.h
index c812cd8..1de6cc1 100644
--- a/c/listview.h
+++ b/c/listview.h
@@ -10,12 +10,11 @@ struct ListView
ListView(HWND hWndParent, HMENU hMenu, DWORD dwStyle);
bool FindNextItem(LVITEM* lvi, LPARAM lParam);
- virtual int Height(int bHeader = -1);
+ virtual int Height();
virtual void ResizeColumns(int w);
virtual void UpdateTheme(BOOL bThemeActive);
virtual LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
protected:
- int m_bHeader = 1;
WNDPROC m_proc0;
HWND m_hWndParent;
};