#ifndef LISTVIEW_H #define LISTVIEW_H #include #include struct ListView { HWND hWnd; ListView(HWND hWndParent, HMENU hMenu, DWORD dwStyle); bool FindNextItem(LVITEM* lvi, LPARAM lParam); int Height(int bHeader = -1); 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; }; #endif