📄 outbarview.h
字号:
/////////////////////////////////////////////////////////////////////////////
//作者:孟庆远
/////////////////////////////////////////////////////////////////////////////
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -