//---------------------------------------------------------------------------- // Laser Guard Ltd. // Copyright © 2000-2002. All Rights Reserved. // Version 1.0 01/01/2000 // Last modification: 08/10/2003 // PROJECT: // SUBSYSTEM: // FILE: ImageViewWnd.h // AUTHOR: Sergey Chizhevskiy // OVERVIEW // ~~~~~~~~ // Header file of ImageViewWnd.h //---------------------------------------------------------------------------- #if !defined(AFX_IMAGEVIEWWND_H__84739C0C_FE95_4431_B2F2_8EAF52607479__INCLUDED_) #define AFX_IMAGEVIEWWND_H__84739C0C_FE95_4431_B2F2_8EAF52607479__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif #include "..\LgLib\MFC\MemoryDC.h" class CImageViewWnd : public CWnd { public: CImageViewWnd(); public: BOOL Create( CWnd* pParentWnd, CRect &rect ); public: //{{AFX_VIRTUAL(CImageViewWnd) //}}AFX_VIRTUAL public: CLgMemoryDC& GetMemoryDC(); virtual ~CImageViewWnd(); protected: //{{AFX_MSG(CImageViewWnd) afx_msg void OnPaint(); afx_msg void OnSize(UINT nType, int cx, int cy); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: void OnDraw( CDC *pDC ); private: CLgMemoryDC m_MemoryDC; }; //{{AFX_INSERT_LOCATION}} #endif