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


// EPicBookView.h : interface of the CEPicBookView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_EPICBOOKVIEW_H__E3D5727B_5354_4E4A_91B4_E903D0EAA3DA__INCLUDED_) 
#define AFX_EPICBOOKVIEW_H__E3D5727B_5354_4E4A_91B4_E903D0EAA3DA__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
#include "BtnST.h" 
#include "MyWnd.h" 
#include "EPicBookDoc.h" 
class CMyPicWnd; 
 
class CEPicBookView : public CView 
{ 
protected: // create from serialization only 
	CEPicBookView(); 
	DECLARE_DYNCREATE(CEPicBookView) 
 
// Attributes 
public: 
	CEPicBookDoc* GetDocument(); 
    void ChangeCheckLayout(int index); 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CEPicBookView) 
	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 ~CEPicBookView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
   CRect m_clientRect; 
   CBrush m_bkBrush; 
 
   CButtonST m_BTNext; 
   CButtonST m_BTPrev; 
   CButtonST m_BTLeft; 
   CButtonST m_BTRight; 
 
   CButtonST m_BTSigWeight; 
   CButtonST m_BTSigHight; 
   CButtonST m_BTDoubLR; 
   CButtonST m_BTDoubUD; 
 
   CButtonST m_BTDoPack; 
    
   CMyWnd    m_PhotoView; 
   CMyPicWnd* m_PhotoPane; 
 
   void SetBtCheck(int index); 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CEPicBookView) 
	afx_msg void OnPaint(); 
	afx_msg void OnMenuitem32771(); 
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point); 
	afx_msg void OnBTDown(); 
	afx_msg void OnBTUp(); 
	afx_msg void OnBTNext(); 
	afx_msg void OnBTPrev(); 
	afx_msg void OnBTSigW(); 
	afx_msg void OnBTSigH(); 
	afx_msg void OnBTDoubLR(); 
	afx_msg void OnBTDoubUD(); 
	afx_msg void OnBTDoPack(); 
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in EPicBookView.cpp 
inline CEPicBookDoc* CEPicBookView::GetDocument() 
   { return (CEPicBookDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_EPICBOOKVIEW_H__E3D5727B_5354_4E4A_91B4_E903D0EAA3DA__INCLUDED_)