📄 itemlist.h
字号:
#if !defined(AFX_ITEMLIST_H__4F70A162_621C_4766_AFE0_4B9BCB9318C3__INCLUDED_)
#define AFX_ITEMLIST_H__4F70A162_621C_4766_AFE0_4B9BCB9318C3__INCLUDED_
#include "SortListCtrl.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ItemList.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CItemList window
#include "global.h"
class CItemList : public CListCtrl/*CSortListCtrl*/
{
// Construction
public:
CItemList();
// Attributes
public:
// Operations
public:
void onShowALL();
void onShowSimple();
void onAddCollection();
void shouChannel(ItemList *list);
void sort(int type,int asc);
ItemList *getCurItem(){
return this->items;
}
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CItemList)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CItemList();
ItemList *items;
// Generated message map functions
protected:
//{{AFX_MSG(CItemList)
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnColumnclick(NMHDR* pNMHDR, LRESULT* pResult);
void OnCustomDraw(NMHDR *pNMHDR, LRESULT *pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
int m_selectIndex;
CImageList m_imageList;
int m_sortCol;
bool asc;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ITEMLIST_H__4F70A162_621C_4766_AFE0_4B9BCB9318C3__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -