void CProject1Dlg::OnButtonDisc()
{
// TODO: Add your control notification handler code here
CFTPConnectDlg cDlg;
m_pConnection->Close();
delete m_pConnection;
m_pConnection = NULL;
m_ctrFTPServer.DeleteAllItems();
GetDlgItem(IDC_BUTTON_FTP_UPDIR)->EnableWindow(FALSE);
GetDlgItem(IDC_EDIT_FTPDIR)->EnableWindow(FALSE);
GetDlgItem(IDC_BUTTON_DOWNLOAD)->EnableWindow(FALSE);
GetDlgItem(IDC_BUTTON_UPLOAD)->EnableWindow(FALSE);
GetDlgItem(IDC_BUTTON_DISC)->EnableWindow(FALSE);
m_strFTPServerInfo = _T("연결안됨");
UpdateData(FALSE);
}
{
// TODO: Add your control notification handler code here
CFTPConnectDlg cDlg;
m_pConnection->Close();
delete m_pConnection;
m_pConnection = NULL;
m_ctrFTPServer.DeleteAllItems();
GetDlgItem(IDC_BUTTON_FTP_UPDIR)->EnableWindow(FALSE);
GetDlgItem(IDC_EDIT_FTPDIR)->EnableWindow(FALSE);
GetDlgItem(IDC_BUTTON_DOWNLOAD)->EnableWindow(FALSE);
GetDlgItem(IDC_BUTTON_UPLOAD)->EnableWindow(FALSE);
GetDlgItem(IDC_BUTTON_DISC)->EnableWindow(FALSE);
m_strFTPServerInfo = _T("연결안됨");
UpdateData(FALSE);
}
댓글 달기