CHFE_FileList Class Reference

#include <HFE_FileList.h>

Inheritance diagram for CHFE_FileList:

CListCtrlEx

List of all members.

Public Member Functions

 CHFE_FileList ()
void ApplyLanguage ()
void ApplyLanguageToMenu (CMenu *menu)
int OnUpdateToolBar (UINT nID)
void UpdateList ()
BOOL Create (CWnd *pParent)
virtual ~CHFE_FileList ()

Protected Member Functions

void OnForceUpdate ()
void CalcCoordsForCurSel ()
void DownloadSelected ()
void OnKeyDown (WORD wVK)
BOOL Open1SelectedItem ()
void UpdateMenu (CMenu *pMenu)
void OnRClick ()
int GetFileImage (fsFileInfo *file)
afx_msg void OnRButtonDown (UINT nFlags, CPoint point)
afx_msg void OnHfeDownload ()
afx_msg void OnHfeGo ()
afx_msg void OnHfeRefresh ()
afx_msg void OnHfeSettings ()
afx_msg void OnHfeStop ()
afx_msg void OnHfeOpenfolder ()
afx_msg void OnHfeParentfolder ()
afx_msg void OnLButtonDblClk (UINT nFlags, CPoint point)
afx_msg void OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct)
afx_msg void OnMeasureItem (int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct)
afx_msg void OnHfeDisconnect ()

Static Protected Member Functions

static DWORD WINAPI _threadBuildList (LPVOID lp)
static fs::tree< fsFileInfo * > * BuildList (LPCSTR pszFolder, BOOL *pbNeedStop, int *piProgress, int iProgressDone)
static int CALLBACK _SortFunc (LPARAM item1, LPARAM item2, LPARAM lParam)

Protected Attributes

fsODMenu m_odmenu
fs::tree< fsFileInfo * > * m_pList
BOOL m_bDontUpdateList
fs::tree * m_pDldList
CPoint m_rbPt
CImageList m_images
CImageList m_selImages

Friends

class CHFEWnd
class CCreateDownloadsDlg


Detailed Description

Definition at line 17 of file HFE_FileList.h.


Constructor & Destructor Documentation

CHFE_FileList::CHFE_FileList (  ) 

Definition at line 26 of file HFE_FileList.cpp.

References FALSE, and m_bDontUpdateList.

CHFE_FileList::~CHFE_FileList (  )  [virtual]

Definition at line 31 of file HFE_FileList.cpp.


Member Function Documentation

void CHFE_FileList::ApplyLanguage (  ) 

Definition at line 722 of file HFE_FileList.cpp.

References L_DATE, L_FILENAME, L_SIZE, LS, and CListCtrlEx::SetColumnText().

Referenced by CHFE_ListLog::ApplyLanguage().

void CHFE_FileList::ApplyLanguageToMenu ( CMenu *  menu  ) 

int CHFE_FileList::OnUpdateToolBar ( UINT  nID  ) 

void CHFE_FileList::UpdateList (  ) 

BOOL CHFE_FileList::Create ( CWnd *  pParent  ) 

void CHFE_FileList::OnForceUpdate (  )  [protected, virtual]

Reimplemented from CListCtrlEx.

Definition at line 750 of file HFE_FileList.cpp.

References UpdateList().

void CHFE_FileList::CalcCoordsForCurSel (  )  [protected]

Definition at line 729 of file HFE_FileList.cpp.

References m_rbPt, and pos().

Referenced by OnKeyDown().

DWORD WINAPI CHFE_FileList::_threadBuildList ( LPVOID  lp  )  [static, protected]

fs::tree< fsFileInfo * > * CHFE_FileList::BuildList ( LPCSTR  pszFolder,
BOOL *  pbNeedStop,
int *  piProgress,
int  iProgressDone 
) [static, protected]

void CHFE_FileList::DownloadSelected (  )  [protected]

void CHFE_FileList::OnKeyDown ( WORD  wVK  )  [protected, virtual]

Reimplemented from CListCtrlEx.

Definition at line 387 of file HFE_FileList.cpp.

References CalcCoordsForCurSel(), FALSE, OnHfeDownload(), OnRClick(), and Open1SelectedItem().

BOOL CHFE_FileList::Open1SelectedItem (  )  [protected]

Definition at line 368 of file HFE_FileList.cpp.

References fsFileInfo::bFolder, FALSE, NULL, OnHfeDownload(), OnHfeOpenfolder(), pos(), and TRUE.

Referenced by OnKeyDown(), and OnLButtonDblClk().

int CALLBACK CHFE_FileList::_SortFunc ( LPARAM  item1,
LPARAM  item2,
LPARAM  lParam 
) [static, protected]

Definition at line 306 of file HFE_FileList.cpp.

References fsFileInfo::bFolder, FALSE, NULL, and fsFileInfo::strName.

Referenced by CCreateDownloadsDlg::OnInitDialog(), and UpdateList().

void CHFE_FileList::UpdateMenu ( CMenu *  pMenu  )  [protected]

void CHFE_FileList::OnRClick (  )  [protected, virtual]

int CHFE_FileList::GetFileImage ( fsFileInfo file  )  [protected]

Definition at line 149 of file HFE_FileList.cpp.

References fsFileInfo::bAvailable, fsFileInfo::bFolder, and FALSE.

Referenced by UpdateList().

void CHFE_FileList::OnRButtonDown ( UINT  nFlags,
CPoint  point 
) [protected]

Definition at line 164 of file HFE_FileList.cpp.

References m_rbPt.

void CHFE_FileList::OnHfeDownload (  )  [protected]

void CHFE_FileList::OnHfeGo (  )  [protected]

Definition at line 232 of file HFE_FileList.cpp.

References CHFEWnd::OnGo().

void CHFE_FileList::OnHfeRefresh (  )  [protected]

Definition at line 237 of file HFE_FileList.cpp.

References CHFEWnd::GetMgr(), and fsInternetFileListMgr::Refresh().

Referenced by CHFEWnd::OnHfeRefresh().

void CHFE_FileList::OnHfeSettings (  )  [protected]

void CHFE_FileList::OnHfeStop (  )  [protected]

Definition at line 252 of file HFE_FileList.cpp.

References FALSE, CHFEWnd::GetMgr(), and fsInternetFileListMgr::Stop().

Referenced by CHFEWnd::OnHfeStop().

void CHFE_FileList::OnHfeOpenfolder (  )  [protected]

void CHFE_FileList::OnHfeParentfolder (  )  [protected]

void CHFE_FileList::OnLButtonDblClk ( UINT  nFlags,
CPoint  point 
) [protected]

Definition at line 361 of file HFE_FileList.cpp.

References Open1SelectedItem().

void CHFE_FileList::OnDrawItem ( int  nIDCtl,
LPDRAWITEMSTRUCT  lpDrawItemStruct 
) [protected]

Definition at line 693 of file HFE_FileList.cpp.

References m_odmenu, and fsODMenu::OnDrawItem().

void CHFE_FileList::OnMeasureItem ( int  nIDCtl,
LPMEASUREITEMSTRUCT  lpMeasureItemStruct 
) [protected]

Definition at line 698 of file HFE_FileList.cpp.

References m_odmenu, and fsODMenu::OnMeasureItem().

void CHFE_FileList::OnHfeDisconnect (  )  [protected]

Definition at line 703 of file HFE_FileList.cpp.

References fsInternetFileListMgr::Disconnect(), and CHFEWnd::GetMgr().

Referenced by CHFEWnd::OnHfeDisconnect().


Friends And Related Function Documentation

friend class CHFEWnd [friend]

Definition at line 19 of file HFE_FileList.h.

friend class CCreateDownloadsDlg [friend]

Definition at line 20 of file HFE_FileList.h.


Member Data Documentation

Definition at line 48 of file HFE_FileList.h.

Referenced by OnDrawItem(), OnMeasureItem(), and OnRClick().

fs::tree<fsFileInfo*>* CHFE_FileList::m_pList [protected]

Definition at line 50 of file HFE_FileList.h.

Referenced by _threadBuildList(), and DownloadSelected().

Definition at line 53 of file HFE_FileList.h.

Referenced by CHFE_FileList(), DownloadSelected(), and UpdateList().

fs::tree* CHFE_FileList::m_pDldList [protected]

Definition at line 58 of file HFE_FileList.h.

CPoint CHFE_FileList::m_rbPt [protected]

Definition at line 66 of file HFE_FileList.h.

Referenced by CalcCoordsForCurSel(), OnRButtonDown(), and OnRClick().

CImageList CHFE_FileList::m_images [protected]

Definition at line 69 of file HFE_FileList.h.

Referenced by Create().

CImageList CHFE_FileList::m_selImages [protected]

Definition at line 69 of file HFE_FileList.h.

Referenced by Create().


The documentation for this class was generated from the following files:

Generated on Sun May 25 00:20:47 2008 by  doxygen 1.5.6