#include <DownloadProperties_GeneralPage.h>
Public Types | |
| enum | { IDD = IDD_DOWNLOAD_GENERAL } |
Public Member Functions | |
| CDownloadProperties_GeneralPage () | |
| ~CDownloadProperties_GeneralPage () | |
| virtual BOOL | OnApply () |
Public Attributes | |
| BOOL | m_bNeedProcessDownloads |
| BOOL | m_bNeedUpdateTasks |
| CDownloadsGroupsComboBox | m_wndGroups |
Protected Member Functions | |
| virtual void | DoDataExchange (CDataExchange *pDX) |
| void | PrepareCHMgr (CPoint point) |
| void | WriteAuthorization () |
| void | UpdateEnabled () |
| void | ReadAuthorization () |
| void | ApplyLanguage () |
| virtual BOOL | OnInitDialog () |
| afx_msg void | OnSelchangeGroups () |
| afx_msg void | OnChangeComment () |
| afx_msg void | OnChangeUrl () |
| afx_msg void | OnChangeSaveas () |
| afx_msg void | OnContextMenu (CWnd *pWnd, CPoint point) |
| afx_msg void | OnWhatisthis () |
| afx_msg void | OnUselogin () |
| afx_msg void | OnChangeUser () |
| afx_msg void | OnChangePassword () |
| afx_msg BOOL | OnHelpInfo (HELPINFO *pHelpInfo) |
Protected Attributes | |
| BOOL | m_bUserChanged |
| BOOL | m_bPasswordChanged |
| CString | m_strUrl |
| BOOL | m_bCommentModified |
| DLDS_LIST * | m_pvDlds |
Friends | |
| class | CDownloadPropertiesSheet |
Definition at line 16 of file DownloadProperties_GeneralPage.h.
| anonymous enum |
| CDownloadProperties_GeneralPage::CDownloadProperties_GeneralPage | ( | ) |
| CDownloadProperties_GeneralPage::~CDownloadProperties_GeneralPage | ( | ) |
Definition at line 33 of file DownloadProperties_GeneralPage.cpp.
| BOOL CDownloadProperties_GeneralPage::OnApply | ( | ) | [virtual] |
Definition at line 147 of file DownloadProperties_GeneralPage.cpp.
References CCreateDownloadDlg::_CheckFolderName(), fsURL::Crack(), FALSE, fsErrorToStr(), fsURL::GetHostName(), fsURL::GetInternetScheme(), GetLastError(), CDownloadsGroupsComboBox::GetSelectedGroup(), INTERNET_SCHEME_FILE, IR_SUCCESS, L_CANTCHANGEFILENAME, L_CANTRENAME, L_CHECKURL, L_ERR, L_INPERR, LS, m_bCommentModified, m_bNeedUpdateTasks, m_pvDlds, m_strUrl, m_wndGroups, NULL, fsDownload_Properties::pszFileName, ReadAuthorization(), TRUE, CDownloadsWnd::UpdateDownload(), CDownloadsWnd::UpdateNumbersOfDownloadsInGroups(), and WriteAuthorization().
| void CDownloadProperties_GeneralPage::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
Definition at line 37 of file DownloadProperties_GeneralPage.cpp.
References IDC_GROUPS, and m_wndGroups.
| void CDownloadProperties_GeneralPage::PrepareCHMgr | ( | CPoint | point | ) | [protected] |
Definition at line 384 of file DownloadProperties_GeneralPage.cpp.
References _CHMgr, IDC__COMMENT, IDC__GROUP, IDC__PASSWORD, IDC__SAVEDAS, IDC__URL, IDC__USER, L_ADDROFFILE, L_DLDSHORTDESC, L_GROUPHERE, L_LOGINHERE, L_PWDHERE, L_SAVEDASHERE, L_USERHERE, LS, and fsContextHelpMgr::PrepareContextMenu().
Referenced by OnContextMenu(), and OnHelpInfo().
| void CDownloadProperties_GeneralPage::WriteAuthorization | ( | ) | [protected] |
Definition at line 342 of file DownloadProperties_GeneralPage.cpp.
References DNP_SET, m_bPasswordChanged, m_bUserChanged, and TRUE.
Referenced by OnApply().
| void CDownloadProperties_GeneralPage::UpdateEnabled | ( | ) | [protected] |
Definition at line 311 of file DownloadProperties_GeneralPage.cpp.
References BOOL, IDC__PASSWORD, and IDC__USER.
Referenced by OnUselogin(), and ReadAuthorization().
| void CDownloadProperties_GeneralPage::ReadAuthorization | ( | ) | [protected] |
Definition at line 282 of file DownloadProperties_GeneralPage.cpp.
References BOOL, DNP_EQ, FALSE, m_bPasswordChanged, m_bUserChanged, m_pvDlds, fsDownload_NetworkProperties::pszPassword, fsDownload_NetworkProperties::pszUserName, TRUE, and UpdateEnabled().
Referenced by OnApply(), and OnInitDialog().
| void CDownloadProperties_GeneralPage::ApplyLanguage | ( | ) | [protected] |
Definition at line 267 of file DownloadProperties_GeneralPage.cpp.
References _LngMgr, fsMFCLangMgr::ApplyLanguage(), IDC__COMMENT, IDC__GENERAL, IDC__GROUP, IDC__PASSWORD, IDC__SAVEDAS, IDC__USER, L_COMMENT, L_GENERALINFO, L_GROUP, L_LOGINREQ, L_PASSWORD, L_SAVEDAS, L_USER, and TRUE.
Referenced by OnInitDialog().
| BOOL CDownloadProperties_GeneralPage::OnInitDialog | ( | ) | [protected, virtual] |
Definition at line 72 of file DownloadProperties_GeneralPage.cpp.
References ApplyLanguage(), fsURL::Create(), fsDownload_NetworkProperties::enProtocol, FALSE, CDownloadsGroupsComboBox::Fill(), fsNPToScheme(), IDC__GENERAL, IDC__SAVEDAS, IDC__URL, m_bCommentModified, m_bNeedProcessDownloads, m_pvDlds, m_strUrl, m_wndGroups, NULL, CDownloadPropertiesSheet::OnInitDialog(), fsDownload_NetworkProperties::pszPathName, fsDownload_NetworkProperties::pszServerName, ReadAuthorization(), CDownloadsGroupsComboBox::SelectGroup(), TRUE, and fsDownload_NetworkProperties::uServerPort.
| void CDownloadProperties_GeneralPage::OnSelchangeGroups | ( | ) | [protected] |
Definition at line 136 of file DownloadProperties_GeneralPage.cpp.
| void CDownloadProperties_GeneralPage::OnChangeComment | ( | ) | [protected] |
Definition at line 141 of file DownloadProperties_GeneralPage.cpp.
References m_bCommentModified, and TRUE.
| void CDownloadProperties_GeneralPage::OnChangeUrl | ( | ) | [protected] |
Definition at line 246 of file DownloadProperties_GeneralPage.cpp.
| void CDownloadProperties_GeneralPage::OnChangeSaveas | ( | ) | [protected] |
Definition at line 251 of file DownloadProperties_GeneralPage.cpp.
| void CDownloadProperties_GeneralPage::OnContextMenu | ( | CWnd * | pWnd, | |
| CPoint | point | |||
| ) | [protected] |
Definition at line 256 of file DownloadProperties_GeneralPage.cpp.
References _CHMgr, PrepareCHMgr(), and fsContextHelpMgr::ShowMenu().
| void CDownloadProperties_GeneralPage::OnWhatisthis | ( | ) | [protected] |
Definition at line 262 of file DownloadProperties_GeneralPage.cpp.
References _CHMgr, and fsContextHelpMgr::OnWT().
| void CDownloadProperties_GeneralPage::OnUselogin | ( | ) | [protected] |
| void CDownloadProperties_GeneralPage::OnChangeUser | ( | ) | [protected] |
Definition at line 330 of file DownloadProperties_GeneralPage.cpp.
References m_bUserChanged, and TRUE.
| void CDownloadProperties_GeneralPage::OnChangePassword | ( | ) | [protected] |
Definition at line 336 of file DownloadProperties_GeneralPage.cpp.
References m_bPasswordChanged, and TRUE.
| BOOL CDownloadProperties_GeneralPage::OnHelpInfo | ( | HELPINFO * | pHelpInfo | ) | [protected] |
Definition at line 367 of file DownloadProperties_GeneralPage.cpp.
References _CHMgr, FALSE, NULL, fsContextHelpMgr::OnWT(), PrepareCHMgr(), and TRUE.
friend class CDownloadPropertiesSheet [friend] |
Definition at line 18 of file DownloadProperties_GeneralPage.h.
Definition at line 24 of file DownloadProperties_GeneralPage.h.
Referenced by CDownloadPropertiesSheet::IsNeedProcessDownloads(), and OnInitDialog().
Definition at line 25 of file DownloadProperties_GeneralPage.h.
Referenced by CDownloadPropertiesSheet::IsNeedUpdateTasks(), and OnApply().
Definition at line 31 of file DownloadProperties_GeneralPage.h.
Referenced by DoDataExchange(), OnApply(), and OnInitDialog().
BOOL CDownloadProperties_GeneralPage::m_bUserChanged [protected] |
Definition at line 45 of file DownloadProperties_GeneralPage.h.
Referenced by OnChangeUser(), ReadAuthorization(), and WriteAuthorization().
BOOL CDownloadProperties_GeneralPage::m_bPasswordChanged [protected] |
Definition at line 45 of file DownloadProperties_GeneralPage.h.
Referenced by OnChangePassword(), ReadAuthorization(), and WriteAuthorization().
CString CDownloadProperties_GeneralPage::m_strUrl [protected] |
Definition at line 50 of file DownloadProperties_GeneralPage.h.
Referenced by OnApply(), and OnInitDialog().
BOOL CDownloadProperties_GeneralPage::m_bCommentModified [protected] |
Definition at line 51 of file DownloadProperties_GeneralPage.h.
Referenced by OnApply(), OnChangeComment(), and OnInitDialog().
DLDS_LIST* CDownloadProperties_GeneralPage::m_pvDlds [protected] |
Definition at line 52 of file DownloadProperties_GeneralPage.h.
Referenced by CDownloadPropertiesSheet::Init(), OnApply(), OnInitDialog(), and ReadAuthorization().
1.5.6