aboutsummaryrefslogtreecommitdiff
path: root/c/listview.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/listview.h')
-rw-r--r--c/listview.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/c/listview.h b/c/listview.h
new file mode 100644
index 0000000..369c4ec
--- /dev/null
+++ b/c/listview.h
@@ -0,0 +1,19 @@
+#ifndef LISTVIEW_H
+#define LISTVIEW_H
+
+#include <windows.h>
+
+struct ListView
+{
+ ListView(HMENU, DWORD);
+ int Height(int = -1);
+ HWND HWnd(void) const;
+ virtual void UpdateTheme(BOOL);
+ virtual LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
+protected:
+ int m_bHeader = 1;
+ WNDPROC m_prevProc;
+ HWND m_hWnd;
+};
+
+#endif