You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.9 KiB
70 lines
1.9 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: ImageWnd.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of ImageWnd.h
|
|
//----------------------------------------------------------------------------
|
|
#if !defined(AFX_IMAGEWND_H__489DBF44_55BA_4047_991A_4D4396255203__INCLUDED_)
|
|
#define AFX_IMAGEWND_H__489DBF44_55BA_4047_991A_4D4396255203__INCLUDED_
|
|
|
|
#include "..\..\LgLib\MFC\MemoryDC.h" // Added by ClassView
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// ImageWnd.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CImageWnd window
|
|
|
|
class CImageWnd : public CWnd
|
|
{
|
|
// Construction
|
|
public:
|
|
CImageWnd();
|
|
|
|
// Attributes
|
|
public:
|
|
|
|
// Operations
|
|
public:
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CImageWnd)
|
|
protected:
|
|
virtual void PostNcDestroy();
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
public:
|
|
void SetImage( LPBITMAPINFO pBmi, LPBYTE pBuffer );
|
|
BOOL Create( CWnd *pParentWnd, int x, int y, int cx, int cy );
|
|
BOOL Create( CWnd *pParentWnd, CRect *pRect );
|
|
virtual ~CImageWnd();
|
|
|
|
// Generated message map functions
|
|
protected:
|
|
//{{AFX_MSG(CImageWnd)
|
|
afx_msg void OnPaint();
|
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
private:
|
|
CDC m_CopyDC;
|
|
CLgMemoryDC m_MemDC;
|
|
};
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_IMAGEWND_H__489DBF44_55BA_4047_991A_4D4396255203__INCLUDED_)
|