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_SITES_GENERALPAGE_H__0C57B8D1_4411_4034_98BF_49BCB918ECC0__INCLUDED_) 00007 #define AFX_SITES_GENERALPAGE_H__0C57B8D1_4411_4034_98BF_49BCB918ECC0__INCLUDED_ 00008 00009 #if _MSC_VER > 1000 00010 #pragma once 00011 #endif 00012 00013 #include "fsSitesMgr.h" 00014 #include "Sites_AdvancedPage.h" 00015 #include "DownloadsGroupsComboBox.h" 00016 00017 class CSites_GeneralPage : public CPropertyPage 00018 { 00019 DECLARE_DYNCREATE(CSites_GeneralPage) 00020 00021 public: 00022 CSites_AdvancedPage* m_advanced; 00023 int m_iSiteIndex; 00024 fsSiteInfo* m_pSite; 00025 00026 CSites_GeneralPage(); 00027 ~CSites_GeneralPage(); 00028 00029 //{{AFX_DATA(CSites_GeneralPage) 00030 enum { IDD = IDD_SITES_GENERAL }; 00031 CSpinButtonCtrl m_wndMaxConnsSpin; 00032 CDownloadsGroupsComboBox m_wndGroups; 00033 CButton m_btnCreateGroup; 00034 CComboBox m_wndSite; 00035 //}}AFX_DATA 00036 00037 //{{AFX_VIRTUAL(CSites_GeneralPage) 00038 public: 00039 virtual BOOL OnApply(); 00040 protected: 00041 virtual void DoDataExchange(CDataExchange* pDX); 00042 //}}AFX_VIRTUAL 00043 00044 protected: 00045 void PrepareCHMgr(CPoint point); 00046 void ApplyLanguage(); 00047 void UpdateEnabled(); 00048 00049 //{{AFX_MSG(CSites_GeneralPage) 00050 virtual BOOL OnInitDialog(); 00051 afx_msg void OnUselogin(); 00052 afx_msg void OnUsemaxconns(); 00053 afx_msg void OnUsedefgroup(); 00054 afx_msg void OnUseftppassive(); 00055 afx_msg void OnEditchangeSite(); 00056 afx_msg void OnChangeUser(); 00057 afx_msg void OnChangePassword(); 00058 afx_msg void OnChangeMaxconns(); 00059 afx_msg void OnSelchangeGroups(); 00060 afx_msg void OnCreategroup(); 00061 afx_msg void OnSelchangeSite(); 00062 afx_msg void OnContextMenu(CWnd* pWnd, CPoint point); 00063 afx_msg void OnWhatisthis(); 00064 afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo); 00065 afx_msg void OnDontsendlist2(); 00066 //}}AFX_MSG 00067 DECLARE_MESSAGE_MAP() 00068 }; 00069 00070 //{{AFX_INSERT_LOCATION}//}} 00071 00072 #endif
1.5.6