00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 Open Download Manager Copyright (c) 2008-2010 OpenDownloadManager.ORG 00004 */ 00005 00006 #if !defined(AFX_DOWNLOADPROPERTIES_GENERALPAGE_H__4335D862_C2F6_45AF_ADDF_DCD5B003AA39__INCLUDED_) 00007 #define AFX_DOWNLOADPROPERTIES_GENERALPAGE_H__4335D862_C2F6_45AF_ADDF_DCD5B003AA39__INCLUDED_ 00008 00009 #if _MSC_VER > 1000 00010 #pragma once 00011 #endif 00012 00013 #include "list.h" 00014 #include "DownloadsGroupsComboBox.h" 00015 00016 class CDownloadProperties_GeneralPage : public CPropertyPage 00017 { 00018 friend class CDownloadPropertiesSheet; 00019 00020 DECLARE_DYNCREATE(CDownloadProperties_GeneralPage) 00021 00022 public: 00023 00024 BOOL m_bNeedProcessDownloads; 00025 BOOL m_bNeedUpdateTasks; 00026 CDownloadProperties_GeneralPage(); 00027 ~CDownloadProperties_GeneralPage(); 00028 00029 //{{AFX_DATA(CDownloadProperties_GeneralPage) 00030 enum { IDD = IDD_DOWNLOAD_GENERAL }; 00031 CDownloadsGroupsComboBox m_wndGroups; 00032 //}}AFX_DATA 00033 00034 //{{AFX_VIRTUAL(CDownloadProperties_GeneralPage) 00035 public: 00036 virtual BOOL OnApply(); 00037 protected: 00038 virtual void DoDataExchange(CDataExchange* pDX); 00039 //}}AFX_VIRTUAL 00040 00041 protected: 00042 void PrepareCHMgr(CPoint point); 00043 00044 void WriteAuthorization(); 00045 BOOL m_bUserChanged, m_bPasswordChanged; 00046 void UpdateEnabled(); 00047 00048 void ReadAuthorization(); 00049 void ApplyLanguage(); 00050 CString m_strUrl; 00051 BOOL m_bCommentModified; 00052 DLDS_LIST *m_pvDlds; 00053 00054 //{{AFX_MSG(CDownloadProperties_GeneralPage) 00055 virtual BOOL OnInitDialog(); 00056 afx_msg void OnSelchangeGroups(); 00057 afx_msg void OnChangeComment(); 00058 afx_msg void OnChangeUrl(); 00059 afx_msg void OnChangeSaveas(); 00060 afx_msg void OnContextMenu(CWnd* pWnd, CPoint point); 00061 afx_msg void OnWhatisthis(); 00062 afx_msg void OnUselogin(); 00063 afx_msg void OnChangeUser(); 00064 afx_msg void OnChangePassword(); 00065 afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo); 00066 //}}AFX_MSG 00067 DECLARE_MESSAGE_MAP() 00068 }; 00069 00070 //{{AFX_INSERT_LOCATION}//}} 00071 00072 #endif
1.5.6