//---------------------------------------------------------------------------- // 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