www.pudn.com > ElectronicAlbums.rar > eBookBrowView.h


// eBookBrowView.h : interface of the CEBookBrowView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_EBOOKBROWVIEW_H__72F4FBC4_AF9B_4DF8_9C69_E0715E28513B__INCLUDED_) 
#define AFX_EBOOKBROWVIEW_H__72F4FBC4_AF9B_4DF8_9C69_E0715E28513B__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "MyPicWnd.h" 
#include "BtnST.h" 
#include "NumberText.h" 
 
class CEBookBrowView : public CView 
{ 
protected: // create from serialization only 
	CEBookBrowView(); 
	DECLARE_DYNCREATE(CEBookBrowView) 
 
// Attributes 
public: 
	CEBookBrowDoc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CEBookBrowView) 
	public: 
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	virtual void OnInitialUpdate(); 
	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 ~CEBookBrowView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
  CRect      m_clientRect; 
  CMyPicWnd  m_picWnd; 
  CNumberText m_TextWnd; 
  CButtonST  m_BTNext; 
  CButtonST  m_BTPrev; 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CEBookBrowView) 
	afx_msg void OnBTNext(); 
	afx_msg void OnBTPrev(); 
	afx_msg void OnMenuitem32771(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in eBookBrowView.cpp 
inline CEBookBrowDoc* CEBookBrowView::GetDocument() 
   { return (CEBookBrowDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_EBOOKBROWVIEW_H__72F4FBC4_AF9B_4DF8_9C69_E0715E28513B__INCLUDED_)