aboutsummaryrefslogtreecommitdiff
path: root/Src/Plugins/General/gen_ml/listskin.h
blob: 63bfb42e3fd9f02e173c4c6053991aae1de382e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef _LISTSKIN_H
#define _LISTSKIN_H

#include <windows.h>

class ScrollWnd;

class ListSkin
{
public:
	ListSkin(HWND hwnd);
	~ListSkin();

	void updateScrollWnd();
	void disableHorzScroll();
	
  
	HWND m_hwnd;
	HWND m_listwnd;
	HWND m_headerwnd;
	ScrollWnd *m_scrollwnd;
	WNDPROC m_old_wndproc;
	WNDPROC m_old_header_wndproc;
	WNDPROC m_old_mainwndproc;

	// sort 
	BOOL sortShow;
	BOOL sortAscending;
	int	sortIndex;

	// enabled/disabled handling
	int m_enabled;
//  int m_changing_item_sel;
};

#endif