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.
 
 
 
 
 

73 lines
2.0 KiB

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: PropertySensorWnd.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of PropertySensorWnd.h
//----------------------------------------------------------------------------
#if !defined(AFX_PROPERTYSENSORWND_H__38033112_2230_4B1B_B787_06051E1A5D39__INCLUDED_)
#define AFX_PROPERTYSENSORWND_H__38033112_2230_4B1B_B787_06051E1A5D39__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PropertySensorWnd.h : header file
//
#include "..\DLIB\Sensor.h"
#include "..\..\LgLib\MFC\MemoryDC.h"
class CPropertySensorWnd : public CWnd
{
// Construction
public:
CPropertySensorWnd();
virtual ~CPropertySensorWnd();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPropertySensorWnd)
//}}AFX_VIRTUAL
// Implementation
public:
virtual BOOL Create( CWnd *pParentWnd, int x, int y, int cx, int cy );
virtual void UpdateInfo( BOOL bOddUpdate );
virtual void SetSensor( CSensor *pSensor );
virtual void OnUpdateSensorProperty();
virtual void FitRect( CRect ParentRect, CRect &ChildRect );
// Generated message map functions
protected:
virtual void OnDraw(CDC *pDC);
//{{AFX_MSG(CPropertySensorWnd)
afx_msg void OnPaint();
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
protected:
BOOL m_bOddUpdate;
CSensor *m_pSensor;
CLgMemoryDC m_MemoryDC;
OSVERSIONINFO m_OSVersionInfo;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PROPERTYSENSORWND_H__38033112_2230_4B1B_B787_06051E1A5D39__INCLUDED_)