aboutsummaryrefslogtreecommitdiff
path: root/c/listview.h
blob: 369c4eca495b4a1161b2b62c0ac7814c6a95c9ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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