From e2dfdd7d07f54b464a4419dcf102662f1694d4b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 15 Jul 2022 18:50:15 +0200 Subject: Split defs.h into separate header files. This is feasible now that the makedeps script exists to automatically manage build dependencies (see 6034fe2, d00f8b3). --- c/listview.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 c/listview.h (limited to 'c/listview.h') 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 + +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 -- cgit v1.2.3