ftpdlg.h
来自「Visual_C++.NET实用编程百例」· C头文件 代码 · 共 54 行
H
54 行
// ftpDlg.h : 头文件
//
#pragma once
#include "afx.h"
#include "afxinet.h"
#include "afxwin.h"
// CftpDlg 对话框
class CftpDlg : public CDialog
{
// 构造
public:
CftpDlg(CWnd* pParent = NULL); // 标准构造函数
// 对话框数据
enum { IDD = IDD_FTP_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
// 实现
protected:
HICON m_hIcon;
// 生成的消息映射函数
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
CInternetSession m_Session;
CFtpConnection* m_pConnection;
public:
afx_msg void OnBnClickedButton1();
CString m_strServer;
unsigned int m_nPort;
CString m_strUser;
CString m_strPwd;
CString m_strDir;
CButton m_button1;
CListBox m_listFiles;
protected:
void LoadFile(void);
public:
afx_msg void OnBnClickedButton2();
CString m_strFile;
afx_msg void OnBnClickedButton3();
afx_msg void OnClose();
afx_msg void OnBnClickedCancel();
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?