aboutsummaryrefslogtreecommitdiff
path: root/c/listview.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-16 01:00:20 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-16 01:00:20 +0200
commit84c3dd3587e219caa80adc2070f0e9fe004c27bc (patch)
treee73b7367e8a44dba66498ae7dc244cf49b269897 /c/listview.h
parent70928745565b01f3fae0e32ea007266aa2e1edc5 (diff)
downloadEpisodeBrowser-84c3dd3587e219caa80adc2070f0e9fe004c27bc.tar.gz
Add m_hWndParent to ListView.
This avoids g_hWnd.
Diffstat (limited to 'c/listview.h')
-rw-r--r--c/listview.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/c/listview.h b/c/listview.h
index 369c4ec..cf5dc26 100644
--- a/c/listview.h
+++ b/c/listview.h
@@ -5,7 +5,7 @@
struct ListView
{
- ListView(HMENU, DWORD);
+ ListView(HWND, HMENU, DWORD);
int Height(int = -1);
HWND HWnd(void) const;
virtual void UpdateTheme(BOOL);
@@ -14,6 +14,7 @@ protected:
int m_bHeader = 1;
WNDPROC m_prevProc;
HWND m_hWnd;
+ HWND m_hWndParent;
};
#endif