CSpiderTasks Class Reference

#include <SpiderTasks.h>

Inheritance diagram for CSpiderTasks:

CListCtrlEx

List of all members.

Public Member Functions

 CSpiderTasks ()
void CallSelectedPage ()
void UpdateIcons ()
void ApplyLanguage ()
void ApplyLanguageToMenu (CMenu *pMenu)
void DeleteWebPage (fsWebPageDownloader *wp)
int GetWebPageImage (fsWebPageDownloader *wpd)
int FindWebPage (fsWebPageDownloader *wpd)
void UpdateWebPage (fsWebPageDownloader *wpd)
void UpdateWebPage (int iItem)
void AddWebPage (fsWebPageDownloader *wpd)
int UpdateToolBar (UINT nID)
void UpdateMenu (CMenu *pMenu)
BOOL Create (CWnd *pParent)
virtual ~CSpiderTasks ()

Protected Member Functions

void OnForceUpdate ()
void CalcCoordsForCurSel ()
void OnKeyDown (WORD wVK)
void OnDeleteAllItems ()
void OnDeleteItem (NM_LISTVIEW *pNM)
void OnClick ()
void UpdateActiveWPD (int adj=0)
void OnRClick ()
afx_msg void OnSpiderDl ()
afx_msg void OnRButtonDown (UINT nFlags, CPoint point)
afx_msg void OnMeasureItem (int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct)
afx_msg void OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct)
afx_msg void OnSpiderStopdl ()
afx_msg void OnSpiderStartdl ()
afx_msg void OnSpiderStartautomatically ()
afx_msg void OnSpiderSettings ()
afx_msg void OnSpiderSchedule ()
afx_msg void OnSpiderOpenfolder ()
afx_msg void OnSpiderDelete ()
afx_msg void OnLButtonDblClk (UINT nFlags, CPoint point)
afx_msg void OnSpiderOpenpage ()
afx_msg void OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags)

Protected Attributes

CImageList m_images
CImageList m_selimages
fsODMenu m_odmenu
POINT m_rbPt

Private Attributes

BOOL m_bAutoStart

Friends

class CSpiderWnd


Detailed Description

Definition at line 18 of file SpiderTasks.h.


Constructor & Destructor Documentation

CSpiderTasks::CSpiderTasks (  ) 

Definition at line 27 of file SpiderTasks.cpp.

CSpiderTasks::~CSpiderTasks (  )  [virtual]

Definition at line 31 of file SpiderTasks.cpp.


Member Function Documentation

void CSpiderTasks::CallSelectedPage (  ) 

void CSpiderTasks::UpdateIcons (  ) 

Definition at line 661 of file SpiderTasks.cpp.

References GetWebPageImage(), and CListCtrlEx::SetItemImage().

Referenced by CSpiderWnd::UpdateTasksIcons().

void CSpiderTasks::ApplyLanguage (  ) 

Definition at line 633 of file SpiderTasks.cpp.

References L_FILES, L_PROGRESS, L_WEBPAGEURL, LS, and CListCtrlEx::SetColumnText().

Referenced by CSpiderWnd::ApplyLanguage().

void CSpiderTasks::ApplyLanguageToMenu ( CMenu *  pMenu  ) 

void CSpiderTasks::DeleteWebPage ( fsWebPageDownloader wp  ) 

Definition at line 491 of file SpiderTasks.cpp.

References FindWebPage().

int CSpiderTasks::GetWebPageImage ( fsWebPageDownloader wpd  ) 

int CSpiderTasks::FindWebPage ( fsWebPageDownloader wpd  ) 

Definition at line 250 of file SpiderTasks.cpp.

References LONG.

Referenced by DeleteWebPage(), and UpdateWebPage().

void CSpiderTasks::UpdateWebPage ( fsWebPageDownloader wpd  ) 

void CSpiderTasks::UpdateWebPage ( int  iItem  ) 

void CSpiderTasks::AddWebPage ( fsWebPageDownloader wpd  ) 

int CSpiderTasks::UpdateToolBar ( UINT  nID  ) 

void CSpiderTasks::UpdateMenu ( CMenu *  pMenu  ) 

BOOL CSpiderTasks::Create ( CWnd *  pParent  ) 

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

void CSpiderTasks::CalcCoordsForCurSel (  )  [protected]

Definition at line 640 of file SpiderTasks.cpp.

References m_rbPt, and pos().

Referenced by OnKeyDown().

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

Reimplemented from CListCtrlEx.

Definition at line 561 of file SpiderTasks.cpp.

References CalcCoordsForCurSel(), CallSelectedPage(), OnRClick(), OnSpiderDelete(), and UpdateActiveWPD().

void CSpiderTasks::OnDeleteAllItems (  )  [protected, virtual]

Reimplemented from CListCtrlEx.

Definition at line 555 of file SpiderTasks.cpp.

References CSpiderWnd::m_wndTaskTree, CSpiderTaskTree::m_wpd, NULL, and CSpiderTaskTree::UpdateAll().

void CSpiderTasks::OnDeleteItem ( NM_LISTVIEW *  pNM  )  [protected, virtual]

Reimplemented from CListCtrlEx.

Definition at line 546 of file SpiderTasks.cpp.

References LONG, CSpiderWnd::m_wndTaskTree, CSpiderTaskTree::m_wpd, NULL, and CSpiderTaskTree::UpdateAll().

void CSpiderTasks::OnClick (  )  [protected, virtual]

Reimplemented from CListCtrlEx.

Definition at line 541 of file SpiderTasks.cpp.

References UpdateActiveWPD().

void CSpiderTasks::UpdateActiveWPD ( int  adj = 0  )  [protected]

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

void CSpiderTasks::OnSpiderDl (  )  [protected]

Definition at line 277 of file SpiderTasks.cpp.

References CSpiderWnd::AddWebPage().

Referenced by CSpiderWnd::OnInsert(), and CSpiderWnd::OnSpiderDl().

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

Definition at line 310 of file SpiderTasks.cpp.

References m_rbPt.

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

Definition at line 316 of file SpiderTasks.cpp.

References m_odmenu, and fsODMenu::OnMeasureItem().

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

Definition at line 321 of file SpiderTasks.cpp.

References m_odmenu, and fsODMenu::OnDrawItem().

void CSpiderTasks::OnSpiderStopdl (  )  [protected]

Definition at line 326 of file SpiderTasks.cpp.

References pos(), and fsWebPageDownloader::StopDownloading().

Referenced by OnKeyDown(), and CSpiderWnd::OnSpiderStopdl().

void CSpiderTasks::OnSpiderStartdl (  )  [protected]

Definition at line 337 of file SpiderTasks.cpp.

References pos(), and fsWebPageDownloader::StartDownloading().

Referenced by OnKeyDown(), and CSpiderWnd::OnSpiderStartdl().

void CSpiderTasks::OnSpiderStartautomatically (  )  [protected]

void CSpiderTasks::OnSpiderSettings (  )  [protected]

void CSpiderTasks::OnSpiderSchedule (  )  [protected]

void CSpiderTasks::OnSpiderOpenfolder (  )  [protected]

void CSpiderTasks::OnSpiderDelete (  )  [protected]

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

Definition at line 588 of file SpiderTasks.cpp.

References CallSelectedPage().

void CSpiderTasks::OnSpiderOpenpage (  )  [protected]

void CSpiderTasks::OnKeyDown ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
) [protected]

Definition at line 693 of file SpiderTasks.cpp.

References BOOL, OnSpiderStartdl(), and OnSpiderStopdl().


Friends And Related Function Documentation

friend class CSpiderWnd [friend]

Definition at line 20 of file SpiderTasks.h.


Member Data Documentation

CImageList CSpiderTasks::m_images [protected]

Definition at line 70 of file SpiderTasks.h.

Referenced by Create().

CImageList CSpiderTasks::m_selimages [protected]

Definition at line 71 of file SpiderTasks.h.

Referenced by Create().

Definition at line 73 of file SpiderTasks.h.

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

POINT CSpiderTasks::m_rbPt [protected]

Definition at line 74 of file SpiderTasks.h.

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

Definition at line 97 of file SpiderTasks.h.

Referenced by OnSpiderStartautomatically(), and UpdateMenu().


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

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