outbarview.h

来自「模拟迅雷的下载工具软件」· C头文件 代码 · 共 68 行

H
68
字号
/////////////////////////////////////////////////////////////////////////////
//作者:孟庆远
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_OUTBARVIEW_H__790EB214_2913_11D3_ABAE_94F400C10000__INCLUDED_)
#define AFX_OUTBARVIEW_H__790EB214_2913_11D3_ABAE_94F400C10000__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "XTOutlookBar.h"
#include "XTPagerCtrl.h"

/////////////////////////////////////////////////////////////////////////////
// COutbarView view
class CListViewInfo;

class COutbarView : public CView
{
protected:
	COutbarView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(COutbarView)

// Attributes
protected:
	CXTOutlookBar	m_wndOutlookBar;
	CXTPagerCtrl	m_wndPager;
	CListViewInfo   *m_ptrListViewInfo;
// Operations
public:
	void SetCListViewInfo(CListViewInfo* pListInfo);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(COutbarView)
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~COutbarView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(COutbarView)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnOutbarNotify(UINT lParam, LONG wParam);
	//}}AFX_MSG
    afx_msg BOOL OnPagerScroll(NMPGSCROLL* pNMPGScroll, LRESULT * pResult);
    afx_msg BOOL OnPagerCalcSize(NMPGCALCSIZE * pNMPGCalcSize, LRESULT* pResult);
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_OUTBARVIEW_H__790EB214_2913_11D3_ABAE_94F400C10000__INCLUDED_)

⌨️ 快捷键说明

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