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

📄 opcclientview.h

📁 opc的客户端程序,在csdn上下的,不过我想看看这里下的详细说明
💻 H
字号:
// OPCClientView.h : interface of the OPCClientView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_OPCCLIENTVIEW_H__4224CAC4_09AE_467F_BB08_9E70F3292902__INCLUDED_)
#define AFX_OPCCLIENTVIEW_H__4224CAC4_09AE_467F_BB08_9E70F3292902__INCLUDED_

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


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

// Attributes
public:
	OPCClientDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(OPCClientView)
	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 void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~OPCClientView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(OPCClientView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnDataChanged(WPARAM wParam, LPARAM lParam = 0);
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnItemchanged(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
	//}}AFX_MSG
	afx_msg void OnStyleChanged(int nStyleType, LPSTYLESTRUCT lpStyleStruct);
	DECLARE_MESSAGE_MAP()

private:
	CImageList	image_list;
};

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

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

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

#endif // !defined(AFX_OPCCLIENTVIEW_H__4224CAC4_09AE_467F_BB08_9E70F3292902__INCLUDED_)

⌨️ 快捷键说明

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