//---------------------------------------------------------------------------- // Laser Guard Ltd. // Copyright © 2000-2002. All Rights Reserved. // Version 1.0 01/01/2000 // Last modification: 08/10/2003 // PROJECT: // SUBSYSTEM: // FILE: PropertySPRUWnd.h // AUTHOR: Sergey Chizhevskiy // OVERVIEW // ~~~~~~~~ // Header file of PropertySPRUWnd.h //---------------------------------------------------------------------------- #if !defined(AFX_PropertySPRUWND_H__7BBE2C05_876E_11D4_A1FC_00508B9DC668__INCLUDED_) #define AFX_PropertySPRUWND_H__7BBE2C05_876E_11D4_A1FC_00508B9DC668__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // PropertySPRUWnd.h : header file // #include "..\DLIB\SensorSPRU.h" class CPropertySPRUWnd : public CWnd { // Construction public: CPropertySPRUWnd(); // Attributes public: // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPropertySPRUWnd) public: virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL); //}}AFX_VIRTUAL // Implementation public: void SetSensor( CSensorSPRU *pSensor ); virtual ~CPropertySPRUWnd(); // Generated message map functions protected: //{{AFX_MSG(CPropertySPRUWnd) afx_msg void OnTimer(UINT nIDEvent); afx_msg void OnPaint(); afx_msg void OnRButtonDown(UINT nFlags, CPoint point); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: BOOL m_bInverse; struct OVERLAY { CDC DC; CBitmap Bitmap; CBitmap *pBitmapOld; CDC TempDC; CBitmap *pTempBitmapOld; }m_Overlay; CSensorSPRU *m_pSensor; CRect m_Rect; BOOL m_bEraseBackground; }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_PropertySPRUWND_H__7BBE2C05_876E_11D4_A1FC_00508B9DC668__INCLUDED_)