www.pudn.com > PressMonitor_q.zip > MonitorView.h


// MonitorView.h : interface of the CMonitorView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_MONITORVIEW_H__8D561A4C_6378_11D0_99A1_000021004832__INCLUDED_) 
#define AFX_MONITORVIEW_H__8D561A4C_6378_11D0_99A1_000021004832__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "3DMeterCtrl.h" 
#include "3DBarCtrl.h" 
#include "3DSliderCtrl.h" 
#include "3DtempCtrl.h" 
class CMonitorDoc; 
 
class CMonitorView : public CFormView 
{ 
protected: // create from serialization only 
	CMonitorView(); 
	DECLARE_DYNCREATE(CMonitorView) 
 
public: 
	//{{AFX_DATA(CMonitorView) 
	enum { IDD = IDD_MONITOR_FORM }; 
	C3DMeterCtrl	m_3DMeter6; 
	C3DtempCtrl		m_3DTemp1; 
	C3DSliderCtrl	m_3DSlider2; 
	C3DMeterCtrl	m_3DMeter4; 
	C3DMeterCtrl	m_3DMeter3; 
	C3DMeterCtrl	m_3DMeter2; 
	C3DMeterCtrl	m_3DMeter1; 
	C3DSliderCtrl	m_3DSlider1; 
	C3DBarCtrl	m_3DBarCtrl; 
	//}}AFX_DATA 
 
// Attributes 
public: 
	CMonitorDoc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMonitorView) 
	public: 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	virtual void OnInitialUpdate(); // called first time after construct 
	virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	void UpdateControl(); 
	virtual ~CMonitorView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CMonitorView) 
		// NOTE - the ClassWizard will add and remove member functions here. 
		//    DO NOT EDIT what you see in these blocks of generated code ! 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in MonitorView.cpp 
inline CMonitorDoc* CMonitorView::GetDocument() 
   { return (CMonitorDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MONITORVIEW_H__8D561A4C_6378_11D0_99A1_000021004832__INCLUDED_)