?? serverdlg.h
字號:
#if !defined(AFX_SERVERDLG_H__22EA6B97_E536_4931_A3E3_3EAA25FEB727__INCLUDED_)
#define AFX_SERVERDLG_H__22EA6B97_E536_4931_A3E3_3EAA25FEB727__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ServerDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CServerDlg dialog
class CServerDlg : public CDialog
{
// Construction
public:
CWinThread *m_pServiceThread;
SOCKET m_sockService;
CServerDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CServerDlg)
enum { IDD = IDD_SERVER };
CIPAddressCtrl m_ctrlip;
UINT m_nPort;
CString m_strSavePath;
CString m_strMessage;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CServerDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CServerDlg)
virtual BOOL OnInitDialog();
afx_msg void OnStart();
afx_msg void OnStop();
afx_msg void OnThreadMsg(WPARAM wParm,LPARAM lParm);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnDestroy();
afx_msg void OnBrowsePath();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
DWORD m_nLastRecv;
DWORD m_nTotalRecv;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SERVERDLG_H__22EA6B97_E536_4931_A3E3_3EAA25FEB727__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -