summaryrefslogtreecommitdiff
path: root/win/SortHead.h
blob: 3d2bc5b2b045e849d9a398735b489ac9533db9ea (plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#if !defined(AFX_SORTHEAD_H__56F42684_B169_11D3_A5D1_AA1A6BED9842__INCLUDED_)
#define AFX_SORTHEAD_H__56F42684_B169_11D3_A5D1_AA1A6BED9842__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// SortHead.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSortHeaderCtrl window

class CSortHeaderCtrl : public CHeaderCtrl
{
// Construction
public:
	CSortHeaderCtrl();

// Attributes
protected:
	int m_nSortCol;
	BOOL m_bSortAsc;

// Operations
public:
	int SetSortImage(int nCol, BOOL bAsc);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSortHeaderCtrl)
	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CSortHeaderCtrl();

	// Generated message map functions
protected:
	//{{AFX_MSG(CSortHeaderCtrl)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SORTHEAD_H__56F42684_B169_11D3_A5D1_AA1A6BED9842__INCLUDED_)