setparam.h

来自「文件传送协议的服务器端和客户端源码」· C头文件 代码 · 共 59 行

H
59
字号
#if !defined(AFX_SETPARAM_H__BAE7FDA3_9F53_492C_BFFA_796589E01F01__INCLUDED_)
#define AFX_SETPARAM_H__BAE7FDA3_9F53_492C_BFFA_796589E01F01__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSetParam dialog

 

class CSetParam : public CDialog
{
// Construction
public:
	CString GetDefSavePath();
	int GetDefThrTotal();
	CEdit* pEdit;
	CSetParam(CWnd* pParent = NULL);   // standard constructor
	CString CharToStr(char* p);
// Dialog Data
	//{{AFX_DATA(CSetParam)
	enum { IDD = IDD_SETPARAM };
	CString	m_defPath;
	int		m_threadNum;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSetParam)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSetParam)
	afx_msg void OnSet();
	afx_msg void OnView();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	int ChtoInt(char *p);

};

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

#endif // !defined(AFX_SETPARAM_H__BAE7FDA3_9F53_492C_BFFA_796589E01F01__INCLUDED_)

⌨️ 快捷键说明

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