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

📄 timeview.h

📁 我上载了那么多怎么都说已经有上载的啦
💻 H
字号:
#if !defined(AFX_TIMEVIEW_H__FB79C4D6_4047_4FB0_BAD0_06BE3CA0925E__INCLUDED_)
#define AFX_TIMEVIEW_H__FB79C4D6_4047_4FB0_BAD0_06BE3CA0925E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TimeView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CTimeView view
#include "ListVwEx.h"

class CTimeView : public CListVwEx
{
protected:
	CTimeView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CTimeView)

// Attributes
public:

// Operations
public:
	void DrawLabel();
	void DrawList();

	CString GetTerm() const {
		return m_strTerm;
	}
	void SetTerm(const CString& strTerm) {
		m_strTerm = strTerm;
	}

	void PrintList(CDC *pDC);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTimeView)
	public:
	virtual void OnInitialUpdate();
	virtual void OnPrepareDC(CDC* pDC, CPrintInfo* pInfo = NULL);
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

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

	// Generated message map functions
protected:
	//{{AFX_MSG(CTimeView)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

	CString m_strTerm;		

	CFont m_ftFont, m_ftTitleFont;
	long m_lHeight;
	long m_lWidth;
	int m_nYPage;
	int m_nXPage;
	int m_nPageHeight;
	int m_nPageWidth;
};

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

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

#endif // !defined(AFX_TIMEVIEW_H__FB79C4D6_4047_4FB0_BAD0_06BE3CA0925E__INCLUDED_)

⌨️ 快捷键说明

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