itemlist.h

来自「离线的RSS阅读器」· C头文件 代码 · 共 73 行

H
73
字号
#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 + =
减小字号Ctrl + -
显示快捷键?