⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tagview.h

📁 《Windows CE .NET嵌入式工业用控制器及自动控制系统设计》的源代码
💻 H
字号:
// TAGView.h : interface of the CTAGView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_TAGVIEW_H__D1027D78_5643_4F6A_A2C6_8B078202B422__INCLUDED_)
#define AFX_TAGVIEW_H__D1027D78_5643_4F6A_A2C6_8B078202B422__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CTAGView : public CListView
{
protected: // create from serialization only
	CTAGView();
	DECLARE_DYNCREATE(CTAGView)

// Attributes
public:
	CDoc* GetDocument();
	void Display_TAG(UINT nIDEvent);  // add by Yeh

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTAGView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CTAGView();
//--------- add by Yeh ----------------------------
   CImageList	m_ctlImage;  
   char   DSPTAG_Flag[10];
//---------- end of Yeh ---------------------------
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CTAGView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnViewIncoil();
	afx_msg void OnUpdateViewIncoil(CCmdUI* pCmdUI);
	afx_msg void OnViewOutcoil();
	afx_msg void OnUpdateViewOutcoil(CCmdUI* pCmdUI);
	afx_msg void OnViewInreg();
	afx_msg void OnUpdateViewInreg(CCmdUI* pCmdUI);
	afx_msg void OnViewOutreg();
	afx_msg void OnUpdateViewOutreg(CCmdUI* pCmdUI);
	afx_msg void OnViewIncoilSoft();
	afx_msg void OnUpdateViewIncoilSoft(CCmdUI* pCmdUI);
	afx_msg void OnViewOutcoilSoft();
	afx_msg void OnUpdateViewOutcoilSoft(CCmdUI* pCmdUI);
	afx_msg void OnViewInregSoft();
	afx_msg void OnUpdateViewInregSoft(CCmdUI* pCmdUI);
	afx_msg void OnViewOutregSoft();
	afx_msg void OnUpdateViewOutregSoft(CCmdUI* pCmdUI);
	afx_msg void OnViewTimer();
	afx_msg void OnUpdateViewTimer(CCmdUI* pCmdUI);
	afx_msg void OnViewCounter();
	afx_msg void OnUpdateViewCounter(CCmdUI* pCmdUI);
	afx_msg void OnDblclk(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnRefresh();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in TAGView.cpp
inline CDoc* CTAGView::GetDocument()
   { return (CDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_TAGVIEW_H__D1027D78_5643_4F6A_A2C6_8B078202B422__INCLUDED_)

⌨️ 快捷键说明

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