SelectActionDlg.cpp
资源名称:FTP总集.rar [点击查看]
上传用户:tjfeida
上传日期:2013-03-10
资源大小:1917k
文件大小:2k
源码类别:
Ftp客户端
开发平台:
Visual C++
- // SelectActionDlg.cpp : implementation file
- //
- /*********************************************
- **该文件是属于WolfFTP工程中的。如果有什么问题
- **请联系
- ** tablejiang@21cn.com
- **或者访问
- ** http://wolfftp.51.net
- **以得到最新的支持。
- *********************************************/
- #include "stdafx.h"
- #include "quickftp.h"
- #include "SelectActionDlg.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CSelectActionDlg dialog
- CSelectActionDlg::CSelectActionDlg(CWnd* pParent /*=NULL*/)
- : CDialog(CSelectActionDlg::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CSelectActionDlg)
- m_bAsk = FALSE;
- m_strPathName = _T("");
- //}}AFX_DATA_INIT
- }
- void CSelectActionDlg::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CSelectActionDlg)
- DDX_Check(pDX, IDC_CHECK_ASK, m_bAsk);
- DDX_Text(pDX, IDC_EDIT_PATH_NAME, m_strPathName);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CSelectActionDlg, CDialog)
- //{{AFX_MSG_MAP(CSelectActionDlg)
- ON_BN_CLICKED(IDC_BUTTON_OVERLAY, OnButtonOverlay)
- ON_BN_CLICKED(IDC_BUTTON_RESUME, OnButtonResume)
- ON_BN_CLICKED(IDC_BUTTON_RENAME, OnButtonRename)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CSelectActionDlg message handlers
- void CSelectActionDlg::OnOK()
- {
- // TODO: Add extra validation here
- CDialog::OnOK();
- }
- void CSelectActionDlg::OnCancel()
- {
- // TODO: Add extra cleanup here
- m_iAction = 4 ;
- CDialog::OnCancel();
- }
- void CSelectActionDlg::OnButtonOverlay()
- {
- // TODO: Add your control notification handler code here
- m_iAction = 1 ;
- CDialog::OnOK();
- }
- void CSelectActionDlg::OnButtonResume()
- {
- // TODO: Add your control notification handler code here
- m_iAction = 2 ;
- CDialog::OnOK();
- }
- void CSelectActionDlg::OnButtonRename()
- {
- // TODO: Add your control notification handler code here
- m_iAction = 3 ;
- CDialog::OnOK();
- }
- BOOL CSelectActionDlg::OnInitDialog()
- {
- CDialog::OnInitDialog();
- // TODO: Add extra initialization here
- SetForegroundWindow( ) ;
- return TRUE; // return TRUE unless you set the focus to a control
- // EXCEPTION: OCX Property Pages should return FALSE
- }