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_CONNECTIONPAGE_H__EBBFF39D_6EDE_400B_B24D_03DDEF028FC7__INCLUDED_) 00007 #define AFX_DOWNLOADPROPERTIES_CONNECTIONPAGE_H__EBBFF39D_6EDE_400B_B24D_03DDEF028FC7__INCLUDED_ 00008 00009 #if _MSC_VER > 1000 00010 #pragma once 00011 #endif 00012 00013 #include "list.h" 00014 00015 class CDownloadProperties_ConnectionPage : public CPropertyPage 00016 { 00017 friend class CDownloadPropertiesSheet; 00018 00019 DECLARE_DYNCREATE(CDownloadProperties_ConnectionPage) 00020 00021 public: 00022 CDownloadProperties_ConnectionPage(); 00023 ~CDownloadProperties_ConnectionPage(); 00024 00025 //{{AFX_DATA(CDownloadProperties_ConnectionPage) 00026 enum { IDD = IDD_DOWNLOAD_CONNECTION }; 00027 //}}AFX_DATA 00028 00029 //{{AFX_VIRTUAL(CDownloadProperties_ConnectionPage) 00030 public: 00031 virtual BOOL OnApply(); 00032 protected: 00033 virtual void DoDataExchange(CDataExchange* pDX); 00034 //}}AFX_VIRTUAL 00035 00036 protected: 00037 void PrepareCHMgr(CPoint point); 00038 void ApplyLanguage(); 00039 00040 void ErrMustBeGreaterThan (UINT nID, UINT uMin); 00041 void UpdateEnabled(); 00042 00043 DLDS_LIST *m_pvDlds; 00044 00045 //{{AFX_MSG(CDownloadProperties_ConnectionPage) 00046 virtual BOOL OnInitDialog(); 00047 afx_msg void OnLimittraffic(); 00048 afx_msg void OnIgnoreallrestrictions(); 00049 afx_msg void OnChangePausebetween(); 00050 afx_msg void OnChangeMaxattempts(); 00051 afx_msg void OnChangeTimeout(); 00052 afx_msg void OnChangeSectminsize(); 00053 afx_msg void OnChangeSectmaxcount(); 00054 afx_msg void OnChangeTrafficlimitval(); 00055 afx_msg void OnEditchangeTrafficlimitdim(); 00056 afx_msg void OnSelchangeTrafficlimitdim(); 00057 afx_msg void OnSelchangeSectminsizedim(); 00058 afx_msg void OnUsemaxattempts(); 00059 afx_msg void OnContextMenu(CWnd* pWnd, CPoint point); 00060 afx_msg void OnWhatisthis(); 00061 afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo); 00062 afx_msg void OnRestartifspeedlow(); 00063 afx_msg void OnChangeLowspeedDuration(); 00064 //}}AFX_MSG 00065 DECLARE_MESSAGE_MAP() 00066 }; 00067 00068 //{{AFX_INSERT_LOCATION}//}} 00069 00070 #endif
1.5.6