FileTransferDlg.h
资源名称:多功能聊天程序.rar [点击查看]
上传用户:onsales
上传日期:2010-01-31
资源大小:224k
文件大小:2k
源码类别:
网络编程
开发平台:
Visual C++
- // FileTransferDlg.h : header file
- //
- #if !defined(AFX_FILETRANSFERDLG_H__546A7999_F9EA_49AE_A16C_FC4CF3091348__INCLUDED_)
- #define AFX_FILETRANSFERDLG_H__546A7999_F9EA_49AE_A16C_FC4CF3091348__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CFileTransferDlg dialog
- class CFileTransferDlg : public CDialog
- {
- // Construction
- public:
- CString IPstr;
- int sign;
- CFile MyFile;
- void OnClient();
- void OnServer();
- CFileTransferDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CFileTransferDlg)
- enum { IDD = IDD_FILETRANSFER_DIALOG };
- CButton m_Button;
- CProgressCtrl m_Progress;
- CIPAddressCtrl m_IPADDRESS;
- CString m_FileName;
- CString m_FileSize;
- CString m_Name;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CFileTransferDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CFileTransferDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- virtual void OnOK();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_FILETRANSFERDLG_H__546A7999_F9EA_49AE_A16C_FC4CF3091348__INCLUDED_)