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

📄 tabview.h

📁 本文件包包含了大量用VC++开发的应用程序界面
💻 H
字号:
// TabView.h : interface of the CTabView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_TABVIEW_H__6D534FC8_5077_11D4_85C7_CEA85E000000__INCLUDED_)
#define AFX_TABVIEW_H__6D534FC8_5077_11D4_85C7_CEA85E000000__INCLUDED_

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

#include	"Animate.h"

class CTabView : public CCtrlView
{
protected: // create from serialization only
	CTabView();
	DECLARE_DYNCREATE(CTabView)

// Attributes
public:
	CTabDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTabView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

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

protected:

	CTabCtrl&	GetTabCtrl ();
// Generated message map functions
protected:
	void Reinitialize();
	//{{AFX_MSG(CTabView)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	CEdit		m_Edit;
	CAnimate	m_Animate;
	void OnSelchangingSampletab (NMHDR* pNMHDR, LRESULT* pResult);
	void OnSelchangeSampletab (NMHDR* pNMHDR, LRESULT* pResult);
	CImageList	m_Images;
	bool		m_bInitialized;
};

#ifndef _DEBUG  // debug version in TabView.cpp
inline CTabDoc* CTabView::GetDocument()
   { return (CTabDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_TABVIEW_H__6D534FC8_5077_11D4_85C7_CEA85E000000__INCLUDED_)

⌨️ 快捷键说明

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