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

📄 epicbookview.h

📁 电子相册程序,实现图片的浏览,放大缩小等动能!evc4.0下编译通过!
💻 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_)

⌨️ 快捷键说明

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