?? ptpftp.h
字號:
#if !defined(AFX_PTPFTP_H__1DD78343_DCFB_47AD_A46E_919D971A7E90__INCLUDED_)
#define AFX_PTPFTP_H__1DD78343_DCFB_47AD_A46E_919D971A7E90__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Ptpftp.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CPtpftp dialog
class CPtpftp : public CDialog
{
// Construction
public:
CString GetError(DWORD error);
void Stop(CWinThread* pThread);
void TranMsg(CSocket &recSocket,SOCKADDR_IN &client);
int GetIpAddress(CString &IpAddress);
void SaveFile(CSocket &recSo,SOCKADDR_IN &client);
BOOL m_bServerStop;
CString m_FileName;
CString m_Type;
CPtpftp(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CPtpftp)
enum { IDD = IDD_PTPFTPDLG };
CProgressCtrl m_progress;
CListBox m_list;
CIPAddressCtrl m_ip2;
CIPAddressCtrl m_ip1;
UINT m_port1;
UINT m_port2;
CString m_sendmsg;
int m_WorkType;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPtpftp)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPtpftp)
afx_msg void OnSendonly();
afx_msg void OnSendprec();
afx_msg void OnStartServer();
afx_msg void OnSendmsg();
afx_msg void OnSendfile();
afx_msg void OnReconly();
afx_msg void OnStop();
afx_msg void OnStopServer();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
struct FILEINFO
{
int fileLength;
char fileName[100];
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PTPFTP_H__1DD78343_DCFB_47AD_A46E_919D971A7E90__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -