#if !defined(AFX_MYRESLISTCTRL_H__0C3228FA_F275_11D2_9F68_00104B6833D0__INCLUDED_)
#define AFX_MYRESLISTCTRL_H__0C3228FA_F275_11D2_9F68_00104B6833D0__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CMyResListCtrl window

class CMyResListCtrl : public CListCtrl
{
// Construction
public:
	CMyResListCtrl();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyResListCtrl)
	//}}AFX_VIRTUAL

// Implementation
public:
	BOOL SortTextItems( int nCol, BOOL bAscending, int low, int high);
    int nSortedCol; 
    BOOL bSortAscending; 
	virtual ~CMyResListCtrl();

	// Generated message map functions
protected:
	//{{AFX_MSG(CMyResListCtrl)
	afx_msg void OnClick(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnHeaderClicked(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_MYRESLISTCTRL_H__0C3228FA_F275_11D2_9F68_00104B6833D0__INCLUDED_)
