www.pudn.com > partsumhist.rar > practiceView.h


// practiceView.h : interface of the CPracticeView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_PRACTICEVIEW_H__1867B232_A95A_4E1A_81D0_070E36E321FF__INCLUDED_) 
#define AFX_PRACTICEVIEW_H__1867B232_A95A_4E1A_81D0_070E36E321FF__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "HSI.h" 
#include "HistogramDlg.h" 
 
 
 
class CPracticeView : public CScrollView 
{ 
protected: // create from serialization only 
	CPracticeView(); 
	DECLARE_DYNCREATE(CPracticeView) 
 
// Attributes 
public: 
	CPracticeDoc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CPracticeView) 
	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: 
	bool LoadImageBuffer(HDC memdc,char *szFileName); 
	void FlipBitmapData(RGB *buffer); 
	virtual ~CPracticeView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CPracticeView) 
	afx_msg void OnFileOpen(); 
	afx_msg void OnProcHistogram(); 
	afx_msg void Onprocsumhist(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in practiceView.cpp 
inline CPracticeDoc* CPracticeView::GetDocument() 
   { return (CPracticeDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_PRACTICEVIEW_H__1867B232_A95A_4E1A_81D0_070E36E321FF__INCLUDED_)