www.pudn.com > TabClient.rar > TabClientView.h


// TabClientView.h : interface of the CTabClientView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_TABCLIENTVIEW_H__ABD7BB21_79E6_11D7_85DA_50784C70465E__INCLUDED_) 
#define AFX_TABCLIENTVIEW_H__ABD7BB21_79E6_11D7_85DA_50784C70465E__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
#include "ftab.h" 
 
class CTabClientView : public CFormView 
{ 
protected: // create from serialization only 
	CTabClientView(); 
	DECLARE_DYNCREATE(CTabClientView) 
 
public: 
	//{{AFX_DATA(CTabClientView) 
	enum { IDD = IDD_TABCLIENT_FORM }; 
	CStatic	m_wndStaticInfo; 
	//}}AFX_DATA 
 
// Attributes 
public: 
	CTabClientDoc* GetDocument(); 
 
// Operations 
public: 
 
	CFolderTabCtrl m_FolderTabCtrl; 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CTabClientView) 
	public: 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	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 void OnPrint(CDC* pDC, CPrintInfo* pInfo); 
	//}}AFX_VIRTUAL 
	afx_msg void OnChangedTab(NMFOLDERTAB* nmtab, LRESULT* pRes); 
// Implementation 
public: 
	virtual ~CTabClientView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CTabClientView) 
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in TabClientView.cpp 
inline CTabClientDoc* CTabClientView::GetDocument() 
   { return (CTabClientDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_TABCLIENTVIEW_H__ABD7BB21_79E6_11D7_85DA_50784C70465E__INCLUDED_)