Old fashion design for PC-104
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.
 
 
 
 
 

40 lines
940 B

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 15/04/2000
// Last modification: 08/10/2003
// Project Intruder Position Indicator
// SUBSYSTEM: Preview
// FILE: Preview.h
// AUTHOR: Chizhevskiy Sergey
// OVERVIEW
// ~~~~~~~~
// Header file of class CPreview
//----------------------------------------------------------------------------
#ifndef __PREVIEW__H__INCLUDED__
#define __PREVIEW__H__INCLUDED__
class CPreview {
public:
CPreview();
~CPreview();
BOOL Show(BOOL bShow);
BOOL AddPreview(HBITMAP hBitmap);
BOOL Create(HWND hWnd, LPPOINT pPoint = NULL, LPSIZE pSize = NULL);
BOOL StoreImage1(HANDLE hFile);
void Reset();
private:
HBITMAP m_hBitmap;
HWND m_hWnd;
SIZE m_Size;
INT m_Index;
HDC m_hMemDC;
HDC m_hMemCopyDC;
};
#endif