-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFileResList.h
More file actions
62 lines (46 loc) · 1.39 KB
/
FileResList.h
File metadata and controls
62 lines (46 loc) · 1.39 KB
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
53
54
55
56
57
58
59
60
61
62
#if !defined(AFX_FILERESLIST_H__D741D760_BD7F_4BAC_B87F_DD2E3817F25A__INCLUDED_)
#define AFX_FILERESLIST_H__D741D760_BD7F_4BAC_B87F_DD2E3817F25A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FileResList.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CFileResList window
//文件资源列表框
class CFileResList : public CListCtrl
{
// Construction
public:
CFileResList();
void Initial();
int GetSortedCol(){return m_nSortedCol;}
BOOL GetAsc(){return m_bAsc;}
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFileResList)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CFileResList();
// Generated message map functions
protected:
//{{AFX_MSG(CFileResList)
afx_msg void OnColumnclick(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
//列表排序
static int CALLBACK ListCompare(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort);
CImageList m_RightImageList;
int m_nSortedCol;//当前排序的列
BOOL m_bAsc;//是否顺序排序
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FILERESLIST_H__D741D760_BD7F_4BAC_B87F_DD2E3817F25A__INCLUDED_)