Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CNetworksSettingsPage Class Reference

#include <PageSettingsNetworks.h>

Inheritance diagram for CNetworksSettingsPage:

CSettingsPage List of all members.

Public Types

enum  { IDD = IDD_SETTINGS_NETWORKS }

Public Member Functions

 CNetworksSettingsPage ()
virtual ~CNetworksSettingsPage ()
virtual BOOL OnSetActive ()
virtual void OnOK ()

Public Attributes

CStatic m_wndEDSetup
CStatic m_wndG1Setup
CStatic m_wndG2Setup
BOOL m_bG2Enable
BOOL m_bG1Enable
BOOL m_bEDEnable

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnG2Enable ()
afx_msg void OnG1Enable ()
afx_msg void OnEd2kEnable ()
afx_msg HBRUSH OnCtlColor (CDC *pDC, CWnd *pWnd, UINT nCtlColor)
afx_msg BOOL OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message)
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 42 of file PageSettingsNetworks.h.


Constructor & Destructor Documentation

CNetworksSettingsPage::CNetworksSettingsPage  ) 
 

Definition at line 53 of file PageSettingsNetworks.cpp.

CNetworksSettingsPage::~CNetworksSettingsPage  )  [virtual]
 

Definition at line 62 of file PageSettingsNetworks.cpp.


Member Function Documentation

void CNetworksSettingsPage::DoDataExchange CDataExchange *  pDX  )  [protected, virtual]
 

Reimplemented from CSettingsPage.

Definition at line 66 of file PageSettingsNetworks.cpp.

References CSettingsPage::DoDataExchange(), IDC_ED2K_ENABLE, IDC_ED2K_SETUP, IDC_G1_ENABLE, IDC_G1_SETUP, IDC_G2_ENABLE, IDC_G2_SETUP, m_bEDEnable, m_bG1Enable, m_bG2Enable, m_wndEDSetup, m_wndG1Setup, and m_wndG2Setup.

HBRUSH CNetworksSettingsPage::OnCtlColor CDC *  pDC,
CWnd *  pWnd,
UINT  nCtlColor
[protected]
 

Reimplemented from CSettingsPage.

Definition at line 98 of file PageSettingsNetworks.cpp.

References CShareazaApp::m_gdiFontLine, m_wndEDSetup, m_wndG1Setup, m_wndG2Setup, CSettingsPage::OnCtlColor(), and theApp.

void CNetworksSettingsPage::OnEd2kEnable  )  [protected]
 

Definition at line 247 of file PageSettingsNetworks.cpp.

References CSettings::GetOutgoingBandwidth(), CSettingsPage::GetPage(), IDS_NETWORK_BANDWIDTH_LOW, LoadString(), m_bEDEnable, CDonkeySettingsPage::m_bEnableToday, NULL, and Settings.

void CNetworksSettingsPage::OnG1Enable  )  [protected]
 

Definition at line 221 of file PageSettingsNetworks.cpp.

References CSettings::GetOutgoingBandwidth(), CSettingsPage::GetPage(), IDS_NETWORK_BANDWIDTH_LOW, LoadString(), m_bG1Enable, CGnutellaSettingsPage::m_bG1Today, NULL, and Settings.

void CNetworksSettingsPage::OnG2Enable  )  [protected]
 

Definition at line 192 of file PageSettingsNetworks.cpp.

References CSettingsPage::GetPage(), IDS_NETWORK_DISABLE_G2, LoadString(), m_bG2Enable, CGnutellaSettingsPage::m_bG2Today, and NULL.

BOOL CNetworksSettingsPage::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSettingsPage.

Definition at line 82 of file PageSettingsNetworks.cpp.

References CSettings::eDonkey, CSettings::seDonkey::EnableToday, CSettings::sGnutella1::EnableToday, CSettings::sGnutella2::EnableToday, CSettings::Gnutella1, CSettings::Gnutella2, m_bEDEnable, m_bG1Enable, m_bG2Enable, CSettingsPage::OnInitDialog(), and Settings.

void CNetworksSettingsPage::OnLButtonUp UINT  nFlags,
CPoint  point
[protected]
 

Definition at line 136 of file PageSettingsNetworks.cpp.

References CSettingsPage::GetPage(), CSettingsPage::GetSheet(), m_wndEDSetup, m_wndG1Setup, and m_wndG2Setup.

void CNetworksSettingsPage::OnOK  )  [virtual]
 

Reimplemented from CSettingsPage.

Definition at line 273 of file PageSettingsNetworks.cpp.

References CSettings::eDonkey, CSettings::seDonkey::EnableToday, CSettings::sGnutella1::EnableToday, CSettings::sGnutella2::EnableToday, CSettings::Gnutella1, CSettings::Gnutella2, m_bEDEnable, m_bG1Enable, m_bG2Enable, CSettingsPage::OnOK(), and Settings.

BOOL CNetworksSettingsPage::OnSetActive  )  [virtual]
 

Reimplemented from CSettingsPage.

Definition at line 163 of file PageSettingsNetworks.cpp.

References CSettingsPage::GetPage(), m_bEDEnable, CDonkeySettingsPage::m_bEnableToday, m_bG1Enable, CGnutellaSettingsPage::m_bG1Today, m_bG2Enable, CGnutellaSettingsPage::m_bG2Today, NULL, and CSettingsPage::OnSetActive().

BOOL CNetworksSettingsPage::OnSetCursor CWnd *  pWnd,
UINT  nHitTest,
UINT  message
[protected]
 

Definition at line 114 of file PageSettingsNetworks.cpp.

References IDC_HAND, m_wndEDSetup, m_wndG1Setup, m_wndG2Setup, NULL, and theApp.


Member Data Documentation

BOOL CNetworksSettingsPage::m_bEDEnable
 

Definition at line 48 of file PageSettingsNetworks.h.

Referenced by DoDataExchange(), OnEd2kEnable(), CDonkeySettingsPage::OnEnableToday(), OnInitDialog(), OnOK(), OnSetActive(), and CDonkeySettingsPage::OnSetActive().

BOOL CNetworksSettingsPage::m_bG1Enable
 

Definition at line 47 of file PageSettingsNetworks.h.

Referenced by DoDataExchange(), OnG1Enable(), CGnutellaSettingsPage::OnG1Today(), OnInitDialog(), OnOK(), OnSetActive(), and CGnutellaSettingsPage::OnSetActive().

BOOL CNetworksSettingsPage::m_bG2Enable
 

Definition at line 46 of file PageSettingsNetworks.h.

Referenced by DoDataExchange(), OnG2Enable(), CGnutellaSettingsPage::OnG2Today(), OnInitDialog(), OnOK(), OnSetActive(), and CGnutellaSettingsPage::OnSetActive().

CStatic CNetworksSettingsPage::m_wndEDSetup
 

Definition at line 43 of file PageSettingsNetworks.h.

Referenced by DoDataExchange(), OnCtlColor(), OnLButtonUp(), and OnSetCursor().

CStatic CNetworksSettingsPage::m_wndG1Setup
 

Definition at line 44 of file PageSettingsNetworks.h.

Referenced by DoDataExchange(), OnCtlColor(), OnLButtonUp(), and OnSetCursor().

CStatic CNetworksSettingsPage::m_wndG2Setup
 

Definition at line 45 of file PageSettingsNetworks.h.

Referenced by DoDataExchange(), OnCtlColor(), OnLButtonUp(), and OnSetCursor().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:10 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2