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

📄 imageviewview.h

📁 主要介绍vc++6.0的编程过程
💻 H
字号:
#if !defined(IMAGEVIEWVIEW_H__9AB61CEE_47C5_11D0_B717_00C0A83735D8__INCLUDED_)
#define IMAGEVIEWVIEW_H__9AB61CEE_47C5_11D0_B717_00C0A83735D8__INCLUDED_

// ImageViewView.h : interface of the CImageViewView class
//
/////////////////////////////////////////////////////////////////////////////

#include "ImageObject.h"
#include "ChildFrm.h"

class CImageViewView : public CScrollView
{
protected: // create from serialization only
	CImageViewView();
	DECLARE_DYNCREATE(CImageViewView)

// Attributes
public:
	CImageViewDoc* GetDocument();
	CImageObject *m_pImageObject;
	BOOL m_bImageLoaded;

	BOOL m_bCropBoxShowing;
	CRectTracker *m_pTracker;

	void ResizeWindow( void );

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CImageViewView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void OnInitialUpdate(); // called first time after construct
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CImageViewView)
	afx_msg void OnSetFocus(CWnd* pOldWnd);
	afx_msg void OnOperationsShowcropbox();
	afx_msg void OnUpdateOperationsShowcropbox(CCmdUI* pCmdUI);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	afx_msg void OnOperationsCrop();
	afx_msg void OnOperationsStretch();
	afx_msg void OnOperationsFlip();
	afx_msg void OnOperationsInvert();
	afx_msg void OnOperationsRotate();
	afx_msg void OnOperationsSetpalettecreationtype();
	afx_msg void OnOperationsChangeimagecolordepth();
	afx_msg void OnPointprocessesChangebrightness();
	afx_msg void OnPointprocessesColorize();
	afx_msg void OnPointprocessesMakegray();
	afx_msg void OnPointprocessesReversecolors();
	afx_msg void OnPointprocessesViewhistogram();
	afx_msg void OnAreaprocessesChangecontract();
	afx_msg void OnAreaprocessesEdgeenhance();
	afx_msg void OnAreaprocessesEqualizecontrast();
	afx_msg void OnAreaprocessesHighpassfilter();
	afx_msg void OnAreaprocessesLowpassfilter();
	afx_msg void OnAreaprocessesMedianfilter();
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in ImageViewView.cpp
inline CImageViewDoc* CImageViewView::GetDocument()
   { return (CImageViewDoc*)m_pDocument; }
#endif

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(IMAGEVIEWVIEW_H__9AB61CEE_47C5_11D0_B717_00C0A83735D8__INCLUDED)

⌨️ 快捷键说明

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