📄 setitems.h
字号:
#if !defined(AFX_SETITEMS_H__341831CD_E13E_495E_893E_0691E5C8FECB__INCLUDED_)
#define AFX_SETITEMS_H__341831CD_E13E_495E_893E_0691E5C8FECB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SetItems.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSetItems dialog
class CSetItems : public CDialog
{
// Construction
public:
CSetItems(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSetItems)
enum { IDD = IDD_OPC_SETITEMS };
CListBox m_writeitems;
CListBox m_readitems;
CListBox m_allitems;
//}}AFX_DATA
public:
int qIndex;
int pIndex;
int cIndex;
int dIndex;
CString pCurrentItem;
CString m_readallitems[100];
CString m_writeallitems[100];
int nIndex;
int Itemcount;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSetItems)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSetItems)
afx_msg void OnCancel();
afx_msg void OnOpcAddreaditem();
afx_msg void OnOpcAddwriteitems();
afx_msg void OnSelchangeOpcAllitems();
afx_msg void OnOpcDeletereaditems();
afx_msg void OnOpcDeletewriteitems();
afx_msg void OnSelchangeOpcReaditems();
afx_msg void OnSelchangeOpcWriteitems();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SETITEMS_H__341831CD_E13E_495E_893E_0691E5C8FECB__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -