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

CShareManagerDlg Class Reference

#include <DlgShareManager.h>

Inheritance diagram for CShareManagerDlg:

CSkinDialog List of all members.

Public Types

enum  { IDD = IDD_SHARE_MANAGER }

Public Member Functions

 CShareManagerDlg (CWnd *pParent=NULL)

Public Attributes

CButton m_wndRemove
CListCtrl m_wndList

Protected Member Functions

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

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 41 of file DlgShareManager.h.


Constructor & Destructor Documentation

CShareManagerDlg::CShareManagerDlg CWnd *  pParent = NULL  ) 
 

Definition at line 55 of file DlgShareManager.cpp.


Member Function Documentation

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

Reimplemented from CSkinDialog.

Definition at line 61 of file DlgShareManager.cpp.

References IDC_SHARE_FOLDERS, IDC_SHARE_REMOVE, m_wndList, and m_wndRemove.

BOOL CShareManagerDlg::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSkinDialog.

Definition at line 73 of file DlgShareManager.cpp.

References CLibraryFolders::GetFolderIterator(), CLibraryFolders::GetNextFolder(), CShellIcons::GetObject(), IDR_LIBRARYFRAME, Library, LibraryFolders, LVS_EX_LABELTIP, CLibrary::m_pSection, CLibraryFolder::m_sPath, m_wndList, m_wndRemove, NULL, CSkinDialog::OnInitDialog(), ShellIcons, SHI_FOLDER_OPEN, and CSkinDialog::SkinMe().

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

Definition at line 105 of file DlgShareManager.cpp.

References m_wndList, and m_wndRemove.

void CShareManagerDlg::OnOK  )  [protected, virtual]
 

Definition at line 219 of file DlgShareManager.cpp.

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

void CShareManagerDlg::OnShareAdd  )  [protected]
 

Definition at line 111 of file DlgShareManager.cpp.

References BIF_NEWDIALOGSTYLE, IDS_LIBRARY_SUBFOLDER_IN_LIBRARY, IDS_WIZARD_SHARE_ALREADY, CLibraryFolders::IsShareable(), LibraryFolders, CSkin::LoadString(), LoadString(), m_wndList, NULL, SHI_FOLDER_OPEN, CHelpDlg::Show(), and Skin.

void CShareManagerDlg::OnShareRemove  )  [protected]
 

Definition at line 208 of file DlgShareManager.cpp.

References m_wndList.


Member Data Documentation

CListCtrl CShareManagerDlg::m_wndList
 

Definition at line 43 of file DlgShareManager.h.

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

CButton CShareManagerDlg::m_wndRemove
 

Definition at line 42 of file DlgShareManager.h.

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


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