blob: 1de6cc1bed90a042ccfee6ad2518120a9c2d848e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef LISTVIEW_H
#define LISTVIEW_H
#include <windows.h>
#include <commctrl.h>
struct ListView
{
HWND hWnd;
ListView(HWND hWndParent, HMENU hMenu, DWORD dwStyle);
bool FindNextItem(LVITEM* lvi, LPARAM lParam);
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:
WNDPROC m_proc0;
HWND m_hWndParent;
};
#endif
|