stateswnd.h

来自「一个完整的数字硬盘录像机系统软件」· C头文件 代码 · 共 59 行

H
59
字号
#if !defined(AFX_STATESWND_H__908350C4_491A_11D5_9F7A_00C02650BB86__INCLUDED_)
#define AFX_STATESWND_H__908350C4_491A_11D5_9F7A_00C02650BB86__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StatesWnd.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CStatesWnd window
#include "Zone.h"
#include "Secondary.h"
class CStatesWnd : public CWnd
{
// Construction
public:
	CStatesWnd();
// Attributes
public:
   BOOL           m_bType;//FALSE-防区,TRUE-输出
   CString        m_sCaption1,m_sCaption2;
   int            m_nTimers;
   int            m_nExitTimer;
   CZone*         m_pZone; 
   CSecondary*    m_pSecondary;     
// Operations
public:
   void           SetZone(CZone* pZone);
   void           SetSecondary(CSecondary*  pSecondary);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CStatesWnd)
	public:
	virtual BOOL Create(BOOL bType,CRect rect, CWnd* pParentWnd, UINT nID);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CStatesWnd();

	// Generated message map functions
protected:
	//{{AFX_MSG(CStatesWnd)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnPaint();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STATESWND_H__908350C4_491A_11D5_9F7A_00C02650BB86__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?