www.pudn.com > vcframe.rar > matchDoc.h
// matchDoc.h : interface of the CMatchDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MATCHDOC_H__208A7E9F_6654_4E5D_89F5_C25CA691DE28__INCLUDED_)
#define AFX_MATCHDOC_H__208A7E9F_6654_4E5D_89F5_C25CA691DE28__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "dibapi.h"
class CMatchDoc : public CDocument
{
protected: // create from serialization only
CMatchDoc();
DECLARE_DYNCREATE(CMatchDoc)
// Attributes
public:
HDIB GetHDIB() const
{ return m_hDIB; }
CPalette* GetDocPalette() const
{ return m_palDIB; }
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMatchDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
//}}AFX_VIRTUAL
// Implementation
public:
BOOL m_bIsInterior;
HDIB hDibR;
HDIB hDibL;
virtual ~CMatchDoc();
COLORREF m_refColorBKG; // ±³¾°É«
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
void InitDIBData();
#endif
protected:
HDIB m_hDIB;
CPalette* m_palDIB;
CSize m_sizeDoc;
// Generated message map functions
protected:
//{{AFX_MSG(CMatchDoc)
afx_msg void OnOpenimage();
afx_msg void OnCaijiJiesuan();
afx_msg void OnMatching();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MATCHDOC_H__208A7E9F_6654_4E5D_89F5_C25CA691DE28__INCLUDED_)