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

CGeneralSettingsPage Class Reference

#include <PageSettingsGeneral.h>

Inheritance diagram for CGeneralSettingsPage:

CSettingsPage List of all members.

Public Types

enum  { IDD = IDD_SETTINGS_GENERAL }

Public Member Functions

 CGeneralSettingsPage ()
virtual ~CGeneralSettingsPage ()
virtual void OnOK ()

Public Attributes

int m_bRatesInBytes
BOOL m_bExpandMatches
BOOL m_bAutoConnect
int m_nCloseMode
int m_bTrayMinimise
BOOL m_bSwitchToTransfers
BOOL m_bExpandDownloads
BOOL m_bSimpleBar
BOOL m_bStartup
BOOL m_bPromptURLs
BOOL m_bHideSearch
BOOL m_bAdultFilter
CSpinButtonCtrl m_wndTipSpin
CListCtrl m_wndTips
CSliderCtrl m_wndTipAlpha
CComboBox m_wndCloseMode
CComboBox m_wndTrayMinimise
DWORD m_nTipDelay

Protected Member Functions

void Add (LPCTSTR pszName, BOOL bState)
virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnDropdownCloseMode ()
afx_msg void OnDropdownTrayMinimise ()

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 42 of file PageSettingsGeneral.h.


Constructor & Destructor Documentation

CGeneralSettingsPage::CGeneralSettingsPage  ) 
 

Definition at line 49 of file PageSettingsGeneral.cpp.

CGeneralSettingsPage::~CGeneralSettingsPage  )  [virtual]
 

Definition at line 68 of file PageSettingsGeneral.cpp.


Member Function Documentation

void CGeneralSettingsPage::Add LPCTSTR  pszName,
BOOL  bState
[protected]
 

Definition at line 161 of file PageSettingsGeneral.cpp.

References m_wndTips.

Referenced by OnInitDialog().

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

Reimplemented from CSettingsPage.

Definition at line 72 of file PageSettingsGeneral.cpp.

References CSettingsPage::DoDataExchange(), IDC_ADULT_FILTER, IDC_AUTO_CONNECT, IDC_AUTO_START, IDC_CLOSE_MODE, IDC_DOWNLOADS_SIMPLEBAR, IDC_EXPAND_DOWNLOAD, IDC_EXPAND_MATCHES, IDC_HIDE_SEARCH, IDC_PROMPT_URLS, IDC_RATES_IN_BYTES, IDC_SWITCH_TO_TRANSFERS, IDC_TIP_ALPHA, IDC_TIP_DELAY, IDC_TIP_DELAY_SPIN, IDC_TIP_DISPLAY, IDC_TRAY_MINIMISE, m_bAdultFilter, m_bAutoConnect, m_bExpandDownloads, m_bExpandMatches, m_bHideSearch, m_bPromptURLs, m_bRatesInBytes, m_bSimpleBar, m_bStartup, m_bSwitchToTransfers, m_bTrayMinimise, m_nCloseMode, m_nTipDelay, m_wndCloseMode, m_wndTipAlpha, m_wndTips, m_wndTipSpin, and m_wndTrayMinimise.

void CGeneralSettingsPage::OnDropdownCloseMode  )  [protected]
 

Definition at line 210 of file PageSettingsGeneral.cpp.

References m_wndCloseMode, and RecalcDropWidth().

void CGeneralSettingsPage::OnDropdownTrayMinimise  )  [protected]
 

Definition at line 215 of file PageSettingsGeneral.cpp.

References m_wndTrayMinimise, and RecalcDropWidth().

BOOL CGeneralSettingsPage::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSettingsPage.

Definition at line 100 of file PageSettingsGeneral.cpp.

References Add(), CSettings::sSearch::AdultFilter, CSettings::sGeneral::AlwaysOpenURLs, CSettings::sConnection::AutoConnect, CSettings::sDownloads::AutoExpand, CSettings::CheckStartup(), CSettings::sGeneral::CloseMode, CSettings::Connection, CSettings::Downloads, CSettings::sSearch::ExpandMatches, CSettings::General, CSchemaCache::Get(), CSettings::sSearch::HideSearchPanel, IDR_DOWNLOADSFRAME, IDR_LIBRARYFRAME, IDR_MEDIAFRAME, IDR_NEIGHBOURSFRAME, IDR_UPLOADSFRAME, CSettings::Interface, LoadString(), LVS_EX_LABELTIP, m_bAdultFilter, m_bAutoConnect, m_bExpandDownloads, m_bExpandMatches, m_bHideSearch, m_bPromptURLs, m_bRatesInBytes, m_bSimpleBar, m_bStartup, m_bSwitchToTransfers, m_bTrayMinimise, m_nCloseMode, m_nTipDelay, m_wndTipAlpha, m_wndTips, m_wndTipSpin, CSettingsPage::OnInitDialog(), CSettings::sGeneral::RatesInBytes, CSettings::sGeneral::RatesUnit, SchemaCache, CSettings::Search, Settings, CSettings::sDownloads::SimpleBar, CSettings::sSearch::SwitchToTransfers, CSettings::sInterface::TipAlpha, CSettings::sInterface::TipDelay, CSettings::sInterface::TipDownloads, CSettings::sInterface::TipLibrary, CSettings::sInterface::TipMedia, CSettings::sInterface::TipNeighbours, CSettings::sInterface::TipSearch, CSettings::sInterface::TipUploads, CSettings::sGeneral::TrayMinimise, and CSchema::uriSearchFolder.

void CGeneralSettingsPage::OnOK  )  [virtual]
 

Reimplemented from CSettingsPage.

Definition at line 170 of file PageSettingsGeneral.cpp.

References CSettings::sSearch::AdultFilter, CSettings::sLive::AdultWarning, CSettings::sGeneral::AlwaysOpenURLs, CSettings::sConnection::AutoConnect, CSettings::sDownloads::AutoExpand, CSettings::sGeneral::CloseMode, CSettings::Connection, CSettings::Downloads, CSettings::sSearch::ExpandMatches, CSettings::General, CSettings::sSearch::HideSearchPanel, CSettings::Interface, CSettings::Live, m_bAdultFilter, m_bAutoConnect, m_bExpandDownloads, m_bExpandMatches, m_bHideSearch, m_bPromptURLs, m_bRatesInBytes, m_bSimpleBar, m_bStartup, m_bSwitchToTransfers, m_bTrayMinimise, m_nCloseMode, m_nTipDelay, m_wndTipAlpha, m_wndTips, CSettingsPage::OnOK(), CSettings::sGeneral::RatesInBytes, CSettings::sGeneral::RatesUnit, CSettings::Search, CSettings::SetStartup(), Settings, CHelpDlg::Show(), CSettings::sDownloads::SimpleBar, CSettings::sSearch::SwitchToTransfers, CSettings::sInterface::TipAlpha, CSettings::sInterface::TipDelay, CSettings::sInterface::TipDownloads, CSettings::sInterface::TipLibrary, CSettings::sInterface::TipMedia, CSettings::sInterface::TipNeighbours, CSettings::sInterface::TipSearch, CSettings::sInterface::TipUploads, and CSettings::sGeneral::TrayMinimise.


Member Data Documentation

BOOL CGeneralSettingsPage::m_bAdultFilter
 

Definition at line 54 of file PageSettingsGeneral.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

BOOL CGeneralSettingsPage::m_bAutoConnect
 

Definition at line 45 of file PageSettingsGeneral.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

BOOL CGeneralSettingsPage::m_bExpandDownloads
 

Definition at line 49 of file PageSettingsGeneral.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

BOOL CGeneralSettingsPage::m_bExpandMatches
 

Definition at line 44 of file PageSettingsGeneral.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

BOOL CGeneralSettingsPage::m_bHideSearch
 

Definition at line 53 of file PageSettingsGeneral.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

BOOL CGeneralSettingsPage::m_bPromptURLs
 

Definition at line 52 of file PageSettingsGeneral.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

int CGeneralSettingsPage::m_bRatesInBytes
 

Definition at line 43 of file PageSettingsGeneral.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

BOOL CGeneralSettingsPage::m_bSimpleBar
 

Definition at line 50 of file PageSettingsGeneral.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

BOOL CGeneralSettingsPage::m_bStartup
 

Definition at line 51 of file PageSettingsGeneral.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

BOOL CGeneralSettingsPage::m_bSwitchToTransfers
 

Definition at line 48 of file PageSettingsGeneral.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

int CGeneralSettingsPage::m_bTrayMinimise
 

Definition at line 47 of file PageSettingsGeneral.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

int CGeneralSettingsPage::m_nCloseMode
 

Definition at line 46 of file PageSettingsGeneral.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

DWORD CGeneralSettingsPage::m_nTipDelay
 

Definition at line 60 of file PageSettingsGeneral.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

CComboBox CGeneralSettingsPage::m_wndCloseMode
 

Definition at line 58 of file PageSettingsGeneral.h.

Referenced by DoDataExchange(), and OnDropdownCloseMode().

CSliderCtrl CGeneralSettingsPage::m_wndTipAlpha
 

Definition at line 57 of file PageSettingsGeneral.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

CListCtrl CGeneralSettingsPage::m_wndTips
 

Definition at line 56 of file PageSettingsGeneral.h.

Referenced by Add(), DoDataExchange(), OnInitDialog(), and OnOK().

CSpinButtonCtrl CGeneralSettingsPage::m_wndTipSpin
 

Definition at line 55 of file PageSettingsGeneral.h.

Referenced by DoDataExchange(), and OnInitDialog().

CComboBox CGeneralSettingsPage::m_wndTrayMinimise
 

Definition at line 59 of file PageSettingsGeneral.h.

Referenced by DoDataExchange(), and OnDropdownTrayMinimise().


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