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

CBitziDownloadDlg Class Reference

#include <DlgBitziDownload.h>

Inheritance diagram for CBitziDownloadDlg:

CSkinDialog List of all members.

Public Types

enum  { IDD = IDD_BITZI_DOWNLOAD }

Public Member Functions

 CBitziDownloadDlg (CWnd *pParent=NULL)
void AddFile (DWORD nIndex)
void OnNextFile (DWORD nIndex)
void OnRequesting (DWORD nIndex, LPCTSTR pszName)
void OnSuccess (DWORD nIndex)
void OnFailure (DWORD nIndex, LPCTSTR pszMessage)
void OnFinishedFile (DWORD nIndex)

Public Attributes

CStatic m_wndWeb
CListCtrl m_wndFiles
CButton m_wndCancel
CProgressCtrl m_wndProgress

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
virtual void OnCancel ()
afx_msg void OnTimer (UINT nIDEvent)
afx_msg BOOL OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message)
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
afx_msg HBRUSH OnCtlColor (CDC *pDC, CWnd *pWnd, UINT nCtlColor)

Protected Attributes

CBitziDownloader m_pDownloader
DWORD m_nFailures

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 54 of file DlgBitziDownload.h.


Constructor & Destructor Documentation

CBitziDownloadDlg::CBitziDownloadDlg CWnd *  pParent = NULL  ) 
 

Definition at line 47 of file DlgBitziDownload.cpp.


Member Function Documentation

void CBitziDownloadDlg::AddFile DWORD  nIndex  ) 
 

Definition at line 87 of file DlgBitziDownload.cpp.

References CBitziDownloader::AddFile(), and m_pDownloader.

Referenced by CLibraryFileView::OnLibraryBitziDownload().

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

Reimplemented from CSkinDialog.

Definition at line 53 of file DlgBitziDownload.cpp.

References CSkinDialog::DoDataExchange(), IDC_FILES, IDC_PROGRESS, IDC_WEB, m_wndCancel, m_wndFiles, m_wndProgress, and m_wndWeb.

void CBitziDownloadDlg::OnCancel  )  [protected, virtual]
 

Definition at line 149 of file DlgBitziDownload.cpp.

References m_pDownloader, and CBitziDownloader::Stop().

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

Reimplemented from CSkinDialog.

Definition at line 156 of file DlgBitziDownload.cpp.

References CShareazaApp::m_gdiFontLine, m_wndWeb, CSkinDialog::OnCtlColor(), and theApp.

void CBitziDownloadDlg::OnFailure DWORD  nIndex,
LPCTSTR  pszMessage
 

Definition at line 118 of file DlgBitziDownload.cpp.

References m_nFailures, and m_wndFiles.

Referenced by CBitziDownloader::OnRun().

void CBitziDownloadDlg::OnFinishedFile DWORD  nIndex  ) 
 

Definition at line 125 of file DlgBitziDownload.cpp.

References m_wndProgress.

Referenced by CBitziDownloader::OnRun().

BOOL CBitziDownloadDlg::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSkinDialog.

Definition at line 67 of file DlgBitziDownload.cpp.

References CBitziDownloader::GetFileCount(), CShellIcons::GetObject(), IDR_MAINFRAME, CShareazaApp::m_bRTL, m_nFailures, m_pDownloader, m_wndFiles, m_wndProgress, NULL, CSkinDialog::OnInitDialog(), ShellIcons, CSkinDialog::SkinMe(), CBitziDownloader::Start(), and theApp.

void CBitziDownloadDlg::OnLButtonDown UINT  nFlags,
CPoint  point
[protected]
 

Definition at line 186 of file DlgBitziDownload.cpp.

References m_wndWeb, and NULL.

void CBitziDownloadDlg::OnNextFile DWORD  nIndex  ) 
 

Definition at line 92 of file DlgBitziDownload.cpp.

References m_wndProgress.

Referenced by CBitziDownloader::OnRun().

void CBitziDownloadDlg::OnRequesting DWORD  nIndex,
LPCTSTR  pszName
 

Definition at line 97 of file DlgBitziDownload.cpp.

References CShellIcons::Get(), IDS_BITZI_REQUESTING, LoadString(), m_wndFiles, and ShellIcons.

Referenced by CBitziDownloader::OnRun().

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

Definition at line 169 of file DlgBitziDownload.cpp.

References IDC_HAND, m_wndWeb, and theApp.

void CBitziDownloadDlg::OnSuccess DWORD  nIndex  ) 
 

Definition at line 110 of file DlgBitziDownload.cpp.

References IDS_BITZI_SUCCESS, LoadString(), and m_wndFiles.

Referenced by CBitziDownloader::OnRun().

void CBitziDownloadDlg::OnTimer UINT  nIDEvent  )  [protected]
 

Definition at line 130 of file DlgBitziDownload.cpp.

References IDS_BITZI_CLOSE, IDS_BITZI_FINISHED, CBitziDownloader::IsWorking(), LoadString(), m_nFailures, m_pDownloader, m_wndCancel, and m_wndFiles.


Member Data Documentation

DWORD CBitziDownloadDlg::m_nFailures [protected]
 

Definition at line 40 of file DlgBitziDownload.h.

Referenced by OnFailure(), OnInitDialog(), and OnTimer().

CBitziDownloader CBitziDownloadDlg::m_pDownloader [protected]
 

Definition at line 39 of file DlgBitziDownload.h.

Referenced by AddFile(), OnCancel(), OnInitDialog(), and OnTimer().

CButton CBitziDownloadDlg::m_wndCancel
 

Definition at line 57 of file DlgBitziDownload.h.

Referenced by DoDataExchange(), and OnTimer().

CListCtrl CBitziDownloadDlg::m_wndFiles
 

Definition at line 56 of file DlgBitziDownload.h.

Referenced by DoDataExchange(), OnFailure(), OnInitDialog(), OnRequesting(), OnSuccess(), and OnTimer().

CProgressCtrl CBitziDownloadDlg::m_wndProgress
 

Definition at line 58 of file DlgBitziDownload.h.

Referenced by DoDataExchange(), OnFinishedFile(), OnInitDialog(), and OnNextFile().

CStatic CBitziDownloadDlg::m_wndWeb
 

Definition at line 55 of file DlgBitziDownload.h.

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


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