tmcndlg.h

来自「《WinCE.NET嵌入式工业用控制器及自动控制系统设计》的源代码」· C头文件 代码 · 共 57 行

H
57
字号
#if !defined(AFX_TMCNDLG_H__31D0B77B_75F6_42BF_B8FA_5EF6D6214250__INCLUDED_)
#define AFX_TMCNDLG_H__31D0B77B_75F6_42BF_B8FA_5EF6D6214250__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CTMCNDlg dialog

class CTMCNDlg : public CDialog
{
// Construction
public:
	CTMCNDlg(CWnd* pParent = NULL);   // standard constructor
//----- add by Yeh --------------
	CTMCNDlg(int type, int addr, CWnd* pParent = NULL);  
	int m_type, m_idx;
//------- end of Add ------------

// Dialog Data
	//{{AFX_DATA(CTMCNDlg)
	enum { IDD = IDD_TMCNTAG_DIALOG };
	CComboBox	m_cont_ctrl;
	CString	m_cont_text;
	CString	m_curr_text;
	short	m_curr;
	CString	m_pset_text;
	short	m_pset;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTMCNDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CTMCNDlg)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TMCNDLG_H__31D0B77B_75F6_42BF_B8FA_5EF6D6214250__INCLUDED_)

⌨️ 快捷键说明

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