settingdlg.h

来自「 WIN95界面下的VC++串口通讯程序在WIN32下是不建议对端口进行操作的」· C头文件 代码 · 共 55 行

H
55
字号
#if !defined(AFX_SETTINGDLG_H__E03DD975_1D05_455B_8A4C_19C5A502BC96__INCLUDED_)
#define AFX_SETTINGDLG_H__E03DD975_1D05_455B_8A4C_19C5A502BC96__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSettingDlg dialog

class CSettingDlg : public CDialog
{
// Construction
public:
	CSettingDlg(CWnd* pParent = NULL);   // standard constructor
    int nPort;
	CString strSettings;
	CString strSendString;
	int nTime;
// Dialog Data
	//{{AFX_DATA(CSettingDlg)
	enum { IDD = IDD_SETTINGDLG };
	int		m_nPort;
	CString	m_strSettings;
	CString	m_strSendString;
	int		m_nTime;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSettingDlg)
		// NOTE: the ClassWizard will add member functions here
	   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_SETTINGDLG_H__E03DD975_1D05_455B_8A4C_19C5A502BC96__INCLUDED_)

⌨️ 快捷键说明

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