portconfigdlg.h

来自「F340+CP2200的汉化版NETFINDER源代码,增加了串口设置」· C头文件 代码 · 共 53 行

H
53
字号
#if !defined(AFX_PORTCONFIGDLG_H__79EFDC38_939D_460D_8C41_A57A8F3A0704__INCLUDED_)
#define AFX_PORTCONFIGDLG_H__79EFDC38_939D_460D_8C41_A57A8F3A0704__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CPortConfigDlg dialog

class CPortConfigDlg : public CDialog
{
// Construction
public:
	CPortConfigDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CPortConfigDlg)
	enum { IDD = IDD_PORTCONFIG };
	CListBox	m_portlist_display;
	UINT	m_add_portnum;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPortConfigDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnAdd();
	virtual void OnOK();
	afx_msg void OnRemove();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void AddPort(unsigned int port);
};

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

#endif // !defined(AFX_PORTCONFIGDLG_H__79EFDC38_939D_460D_8C41_A57A8F3A0704__INCLUDED_)

⌨️ 快捷键说明

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