⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 beereaderview.h

📁 beereader source code
💻 H
字号:
// BeeReaderView.h : interface of the CBeeReaderView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_BEEREADERVIEW_H__51B32DE6_144C_43B4_B42D_7B3A89BDE9D5__INCLUDED_)
#define AFX_BEEREADERVIEW_H__51B32DE6_144C_43B4_B42D_7B3A89BDE9D5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ListViewCtrlEx.h"
#include "ItemInfoMrg.h"

class CBeeReaderDoc;
class CBeeReaderView : public CListViewEx
{
protected: // create from serialization only
	CBeeReaderView();
	DECLARE_DYNCREATE(CBeeReaderView)

// Attributes
public:
	CBeeReaderDoc* GetDocument();


// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBeeReaderView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
	//}}AFX_VIRTUAL

// Implementation
public:
	void DisplayItem( CRSSChannel* pChannel);
	virtual ~CBeeReaderView();
	int InsertItem(  const LVITEM* pItem );
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
	CXTFlatHeaderCtrl m_flatHeader;

	CImageList	m_imageList;
	CBitmap     m_bitmap;

	UINT          m_uTimer;
	CRSSItem*     m_TrackItem;
	int           m_htTrack;

	CItemInfoMrg  itemInfo;
	CXTCoolMenu	m_coolMenu; 
	int nIndex;

public:
	//系统设置参数变量。
    int       m_nSortedCol;
	BOOL      m_bAscending;
	int       m_iFilter;
// Generated message map functions
protected:
	//{{AFX_MSG(CBeeReaderView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnClick(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnColumnclick(NMHDR* pNMHDR, LRESULT* pResult);
    afx_msg void OnDbClick(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnListBrowse();
	afx_msg void OnListView();
	afx_msg void OnListFlagread();
	afx_msg void OnListFlagred();
	afx_msg void OnMarkAllItem(UINT nID);
	afx_msg void OnRemoveItem(UINT nID);
	afx_msg void OnFilterItem(UINT nID);
	afx_msg void OnSortItem(UINT nID);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	BOOL FilterItem(CRSSItem* pItem);
};

#ifndef _DEBUG  // debug version in BeeReaderView.cpp
inline CBeeReaderDoc* CBeeReaderView::GetDocument()
   { return (CBeeReaderDoc*)m_pDocument; }
#endif

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_BEEREADERVIEW_H__51B32DE6_144C_43B4_B42D_7B3A89BDE9D5__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -