?? mylistctrl.h
字號:
#if !defined(AFX_MYLISTCTRL_H__EC71BB08_E6A3_45E5_BFA1_ABF0B0EFB5CB__INCLUDED_)
#define AFX_MYLISTCTRL_H__EC71BB08_E6A3_45E5_BFA1_ABF0B0EFB5CB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyListCtrl.h : header file
//
#include <afxtempl.h>
/////////////////////////////////////////////////////////////////////////////
// CMyListCtrl window
class CMyListCtrl : public CListCtrl
{
// Construction
public:
CMyListCtrl();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyListCtrl)
protected:
//}}AFX_VIRTUAL
// Implementation
public:
void EnableSort(BOOL bSort=TRUE);
static int CALLBACK MyCompareProcNumD(LPARAM lParam1,LPARAM lParam2,LPARAM lParamSort);
static int CALLBACK MyCompareProcNumA(LPARAM lParam1,LPARAM lParam2,LPARAM lParamSort);
static int CALLBACK MyCompareProcStrD(LPARAM lParam1,LPARAM lParam2,LPARAM lParamSort);
static int CALLBACK MyCompareProcStrA(LPARAM lParam1,LPARAM lParam2,LPARAM lParamSort);
CStringArray m_ColType;
BOOL m_bSortMode;
BOOL m_bEnableSort;
int nSortItem;
virtual ~CMyListCtrl();
// Generated message map functions
protected:
//{{AFX_MSG(CMyListCtrl)
afx_msg void OnColumnclick(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYLISTCTRL_H__EC71BB08_E6A3_45E5_BFA1_ABF0B0EFB5CB__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -