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

CWizardSharePage Class Reference

#include <WizardSharePage.h>

Inheritance diagram for CWizardSharePage:

CWizardPage List of all members.

Public Types

enum  { IDD = IDD_WIZARD_SHARING }

Public Member Functions

 CWizardSharePage ()
virtual ~CWizardSharePage ()
void AddPhysicalFolder (LPCTSTR pszFolder)
void AddRegistryFolder (HKEY hRoot, LPCTSTR pszKey, LPCTSTR pszValue)
virtual BOOL OnSetActive ()
virtual LRESULT OnWizardNext ()

Public Attributes

CListCtrl m_wndList
CButton m_wndRemove

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnItemChangedShareFolders (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnShareAdd ()
afx_msg void OnShareRemove ()

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 42 of file WizardSharePage.h.


Constructor & Destructor Documentation

CWizardSharePage::CWizardSharePage  ) 
 

Definition at line 55 of file WizardSharePage.cpp.

CWizardSharePage::~CWizardSharePage  )  [virtual]
 

Definition at line 61 of file WizardSharePage.cpp.


Member Function Documentation

void CWizardSharePage::AddPhysicalFolder LPCTSTR  pszFolder  ) 
 

Definition at line 130 of file WizardSharePage.cpp.

References m_wndList, and SHI_FOLDER_OPEN.

Referenced by AddRegistryFolder(), and OnInitDialog().

void CWizardSharePage::AddRegistryFolder HKEY  hRoot,
LPCTSTR  pszKey,
LPCTSTR  pszValue
 

Definition at line 146 of file WizardSharePage.cpp.

References AddPhysicalFolder(), and NULL.

Referenced by OnInitDialog().

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

Definition at line 65 of file WizardSharePage.cpp.

References IDC_SHARE_FOLDERS, IDC_SHARE_REMOVE, m_wndList, and m_wndRemove.

BOOL CWizardSharePage::OnInitDialog  )  [protected, virtual]
 

Definition at line 77 of file WizardSharePage.cpp.

References AddPhysicalFolder(), AddRegistryFolder(), CSkin::Apply(), CSettings::sDownloads::CollectionPath, CSettings::sDownloads::CompletePath, CSettings::Downloads, CLibraryFolders::GetFolderIterator(), CLibraryFolders::GetNextFolder(), CShellIcons::GetObject(), IDB_FOLDERS, Library, LibraryFolders, CLibrary::m_pSection, CLibraryFolder::m_sPath, m_wndList, NULL, Settings, ShellIcons, SHI_FOLDER_OPEN, and Skin.

void CWizardSharePage::OnItemChangedShareFolders NMHDR *  pNMHDR,
LRESULT *  pResult
[protected]
 

Definition at line 171 of file WizardSharePage.cpp.

References m_wndList, and m_wndRemove.

BOOL CWizardSharePage::OnSetActive  )  [virtual]
 

Definition at line 124 of file WizardSharePage.cpp.

References CWizardPage::SetWizardButtons().

void CWizardSharePage::OnShareAdd  )  [protected]
 

Definition at line 178 of file WizardSharePage.cpp.

References BIF_NEWDIALOGSTYLE, CSettings::Downloads, CSettings::General, IDS_LIBRARY_SUBFOLDER_IN_LIBRARY, IDS_WIZARD_SHARE_ALREADY, CSettings::sDownloads::IncompletePath, CSkin::LoadString(), LoadString(), m_wndList, NULL, CSettings::sGeneral::Path, Settings, SHI_FOLDER_OPEN, CHelpDlg::Show(), Skin, and CSettings::sGeneral::UserPath.

void CWizardSharePage::OnShareRemove  )  [protected]
 

Definition at line 326 of file WizardSharePage.cpp.

References m_wndList.

LRESULT CWizardSharePage::OnWizardNext  )  [virtual]
 

Definition at line 337 of file WizardSharePage.cpp.

References CLibraryFolders::AddFolder(), CLibraryFolders::GetFolderIterator(), CLibraryFolders::GetNextFolder(), IDS_WIZARD_SHARE_CONFIRM, Library, LibraryFolders, CSkin::LoadString(), CLibrary::m_pSection, CLibraryFolder::m_sPath, m_wndList, CLibraryFolders::RemoveFolder(), and Skin.


Member Data Documentation

CListCtrl CWizardSharePage::m_wndList
 

Definition at line 43 of file WizardSharePage.h.

Referenced by AddPhysicalFolder(), DoDataExchange(), OnInitDialog(), OnItemChangedShareFolders(), OnShareAdd(), OnShareRemove(), and OnWizardNext().

CButton CWizardSharePage::m_wndRemove
 

Definition at line 44 of file WizardSharePage.h.

Referenced by DoDataExchange(), and OnItemChangedShareFolders().


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