www.pudn.com > WhiteBalance.rar > WhiteBalanceView.h


// WhiteBalanceView.h : interface of the CWhiteBalanceView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_WHITEBALANCEVIEW_H__5FC9158A_FE1A_46DC_BA76_2BCC0D3AD220__INCLUDED_)
#define AFX_WHITEBALANCEVIEW_H__5FC9158A_FE1A_46DC_BA76_2BCC0D3AD220__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Choose.h"

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

// Attributes
public:
CWhiteBalanceDoc* GetDocument();

// Operations
public:

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

// Implementation
public:
void PaintDib(CDC *pDC,HDIB hDIB);

virtual ~CWhiteBalanceView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext&amt; dc) const;
#endif

protected:
CChoose *g_pDlgChoose;

// Generated message map functions
protected:
void FinalProcess(COLORREF,CWhiteBalanceDoc*);
//{{AFX_MSG(CWhiteBalanceView)
afx_msg void OnChooseFormimage();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnCustomWhite();

//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG // debug version in WhiteBalanceView.cpp
inline CWhiteBalanceDoc* CWhiteBalanceView::GetDocument()
{ return (CWhiteBalanceDoc*)m_pDocument; }
#endif

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_WHITEBALANCEVIEW_H__5FC9158A_FE1A_46DC_BA76_2BCC0D3AD220__INCLUDED_)