📄 stateswnd.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -