www.pudn.com > improc.rar > ImgprocView.h
// ImgprocView.h : interface of the CImgprocView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_IMGPROCVIEW_H__B7F9C004_A275_450B_A3CA_5185BAF9F932__INCLUDED_)
#define AFX_IMGPROCVIEW_H__B7F9C004_A275_450B_A3CA_5185BAF9F932__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CImgprocView : public CView
{
protected: // create from serialization only
CImgprocView();
DECLARE_DYNCREATE(CImgprocView)
// Attributes
public:
CImgprocDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CImgprocView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
void OnUpdateEditCopy(CCmdUI* pCmdUI);
void OnEditCopy();
virtual ~CImgprocView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
LRESULT OnDoRealize(WPARAM wParam, LPARAM);
//{{AFX_MSG(CImgprocView)
afx_msg void OnRgbChanging();
afx_msg void OnFrelTran();
afx_msg void OnEdgeRobert();
afx_msg void OnSobell();
afx_msg void OnMidFilter();
afx_msg void OnFrelPfilter();
afx_msg void OnDbdchange();
afx_msg void OnEvenvalue();
afx_msg void OnColorcon();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in ImgprocView.cpp
inline CImgprocDoc* CImgprocView::GetDocument()
{ return (CImgprocDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_IMGPROCVIEW_H__B7F9C004_A275_450B_A3CA_5185BAF9F932__INCLUDED_)