#include <CtrlDownloads.h>
Public Member Functions | |
CDownloadsCtrl () | |
virtual | ~CDownloadsCtrl () |
BOOL | Create (CWnd *pParentWnd, UINT nID) |
BOOL | Update () |
BOOL | Update (int nGroupCookie) |
BOOL | DropShowTarget (CPtrList *pSel, const CPoint &ptScreen) |
BOOL | DropObjects (CPtrList *pSel, const CPoint &ptScreen) |
int | GetExpandableColumnX () const |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
afx_msg void | OnDestroy () |
afx_msg void | OnSize (UINT nType, int cx, int cy) |
afx_msg void | OnPaint () |
afx_msg void | OnVScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar) |
afx_msg void | OnHScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar) |
afx_msg BOOL | OnMouseWheel (UINT nFlags, short zDelta, CPoint pt) |
afx_msg void | OnChangeHeader (NMHDR *pNotifyStruct, LRESULT *pResult) |
afx_msg void | OnSortPanelItems (NMHDR *pNotifyStruct, LRESULT *pResult) |
afx_msg void | OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags) |
afx_msg void | OnEnterKey () |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnRButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonDblClk (UINT nFlags, CPoint point) |
afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnRButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnSetFocus (CWnd *pOldWnd) |
afx_msg void | OnKillFocus (CWnd *pNewWnd) |
Static Public Member Functions | |
static BOOL | IsFiltered (CDownload *pDownload) |
static BOOL | IsExpandable (CDownload *pDownload) |
Protected Member Functions | |
void | InsertColumn (int nColumn, LPCTSTR pszCaption, int nFormat, int nWidth) |
void | SaveColumnState () |
BOOL | LoadColumnState () |
void | SelectTo (int nIndex) |
void | BubbleSortDownloads (int nColumn) |
void | DeselectAll (CDownload *pExcept1=NULL, CDownloadSource *pExcept2=NULL) |
void | SelectAll (CDownload *pExcept1=NULL, CDownloadSource *pExcept2=NULL) |
int | GetSelectedCount () |
BOOL | HitTest (const CPoint &point, CDownload **ppDownload, CDownloadSource **ppSource, int *pnIndex, RECT *prcItem) |
BOOL | GetAt (int nSelect, CDownload **ppDownload, CDownloadSource **ppSource) |
BOOL | GetRect (CDownload *pSelect, RECT *prcItem) |
void | MoveSelected (int nDelta) |
CString | GetDownloadStatus (CDownload *pDownload) |
int | GetClientStatus (CDownload *pDownload) |
void | PaintDownload (CDC &dc, const CRect &rcRow, CDownload *pDownload, BOOL bFocus, BOOL bDrop) |
void | PaintSource (CDC &dc, const CRect &rcRow, CDownload *pDownload, CDownloadSource *pSource, BOOL bFocus) |
void | OnBeginDrag (CPoint ptAction) |
CImageList * | CreateDragImage (CPtrList *pSel, const CPoint &ptMouse) |
Protected Attributes | |
CHeaderCtrl | m_wndHeader |
CDownloadTipCtrl | m_wndTip |
CImageList | m_pProtocols |
int | m_nGroupCookie |
int | m_nFocus |
BOOL | m_bCreateDragImage |
CDownload * | m_pDragDrop |
BOOL | m_bDrag |
CPoint | m_ptDrag |
CDownload * | m_pDeselect1 |
CDownloadSource * | m_pDeselect2 |
BOOL * | m_pbSortAscending |
int | m_nScrollWheelLines |
Friends | |
class | CDownloadsWnd |
|
Definition at line 83 of file CtrlDownloads.cpp. |
|
Definition at line 92 of file CtrlDownloads.cpp. |
|
|
Definition at line 99 of file CtrlDownloads.cpp. References NULL. Referenced by CDownloadsWnd::OnCreate(). |
|
Definition at line 1958 of file CtrlDownloads.cpp. References CoolInterface, GetRect(), CCoolInterface::m_fntNormal, MAX_DRAG_SIZE, MAX_DRAG_SIZE_2, NULL, and PaintDownload(). Referenced by OnBeginDrag(). |
|
Definition at line 448 of file CtrlDownloads.cpp. References Downloads, CDownloadWithSources::GetFirstSource(), CDownloads::GetIterator(), CDownloads::GetNext(), CDownload::m_bSelected, CTransfers::m_pSection, NULL, and Transfers. Referenced by OnLButtonDown(), OnLButtonUp(), OnRButtonUp(), and SelectTo(). |
|
Definition at line 704 of file CtrlDownloads.cpp. References CDownloads::Check(), Downloads, HitTest(), m_pDragDrop, CTransfers::m_pSection, NULL, CDownloads::Reorder(), and Transfers. Referenced by CDownloadsWnd::CancelDrag(), and CDownloadsWnd::OnLButtonUp(). |
|
Definition at line 680 of file CtrlDownloads.cpp. References HitTest(), m_pDragDrop, and NULL. Referenced by CDownloadsWnd::OnMouseMove(). |
|
Definition at line 568 of file CtrlDownloads.cpp. References CSettings::Downloads, Downloads, dtsConnecting, CDownloadWithSources::GetFirstSource(), CDownloads::GetIterator(), CDownloads::GetNext(), IsFiltered(), CDownload::m_bExpanded, CDownload::m_nGroupCookie, m_nGroupCookie, NULL, Settings, and CSettings::sDownloads::ShowSources. Referenced by OnEnterKey(), OnKeyDown(), and SelectTo(). |
|
Definition at line 1467 of file CtrlDownloads.cpp. References CDownloadWithSources::GetSourceCount(), and CDownload::IsCompleted(). Referenced by BubbleSortDownloads(). |
|
|
Definition at line 2044 of file CtrlDownloads.cpp. References DOWNLOAD_COLUMN_TITLE, and m_wndHeader. Referenced by OnLButtonDblClk(), and OnLButtonDown(). |
|
Definition at line 607 of file CtrlDownloads.cpp. References CSettings::Downloads, Downloads, dtsConnecting, CDownloadWithSources::GetFirstSource(), CDownloads::GetIterator(), CDownloads::GetNext(), CDownloadWithSources::GetSourceCount(), HEADER_HEIGHT, IsFiltered(), ITEM_HEIGHT, CDownload::m_bExpanded, CDownload::m_nGroupCookie, m_nGroupCookie, NULL, Settings, and CSettings::sDownloads::ShowSources. Referenced by CreateDragImage(). |
|
Definition at line 467 of file CtrlDownloads.cpp. References Downloads, CDownloadWithSources::GetFirstSource(), CDownloads::GetIterator(), CDownloads::GetNext(), CDownload::m_bSelected, CTransfers::m_pSection, and Transfers. Referenced by OnLButtonDown(). |
|
|
Definition at line 179 of file CtrlDownloads.cpp. References m_wndHeader. Referenced by OnCreate(). |
|
Definition at line 290 of file CtrlDownloads.cpp. References CSettings::Downloads, dtsConnecting, CDownloadWithSources::GetFirstSource(), CDownloadWithSources::GetSourceCount(), NULL, Settings, and CSettings::sDownloads::ShowSources. Referenced by OnLButtonDblClk(), OnLButtonDown(), CRemote::PageDownloads(), and PaintDownload(). |
|
Definition at line 250 of file CtrlDownloads.cpp. References DLF_ACTIVE, DLF_PAUSED, DLF_QUEUED, DLF_SOURCES, CSettings::Downloads, CSettings::sDownloads::FilterMask, CSettings::General, GUI_BASIC, CSettings::sGeneral::GUIMode, Settings, and SIZE_UNKNOWN. Referenced by GetAt(), GetRect(), HitTest(), OnPaint(), OnSize(), and CRemote::PageDownloads(). |
|
Definition at line 215 of file CtrlDownloads.cpp. References m_wndHeader, and theApp. Referenced by OnCreate(). |
|
Definition at line 657 of file CtrlDownloads.cpp. References Downloads, CDownloads::GetIterator(), CDownloads::GetNext(), CDownload::m_bSelected, CTransfers::m_pSection, CDownloads::Move(), Transfers, and Update(). Referenced by CDownloadsWnd::OnDownloadsMoveDown(), CDownloadsWnd::OnDownloadsMoveUp(), and OnKeyDown(). |
|
Definition at line 1915 of file CtrlDownloads.cpp. References CreateDragImage(), Downloads, CDownloadsWnd::DragDownloads(), CDownloads::GetIterator(), CDownloads::GetNext(), CCoolTipCtrl::Hide(), m_bCreateDragImage, CDownload::m_bSelected, m_pDeselect1, m_pDeselect2, m_pDragDrop, m_wndTip, and NULL. Referenced by OnMouseMove(). |
|
Definition at line 1400 of file CtrlDownloads.cpp. References Update(). |
|
|
Definition at line 169 of file CtrlDownloads.cpp. References m_pbSortAscending, and SaveColumnState(). |
|
Definition at line 1693 of file CtrlDownloads.cpp. References GetAt(), ID_DOWNLOADS_LAUNCH, ID_TRANSFERS_CONNECT, m_nFocus, and NULL. Referenced by OnKeyDown(). |
|
Definition at line 1344 of file CtrlDownloads.cpp. References HEADER_HEIGHT, m_wndHeader, and NULL. |
|
Definition at line 1609 of file CtrlDownloads.cpp. References GetAt(), CCoolTipCtrl::Hide(), ID_DOWNLOADS_CLEAR, ID_DOWNLOADS_ENQUEUE, ID_DOWNLOADS_VIEW_REVIEWS, CDownload::m_bExpanded, m_nFocus, CDownloadSource::m_pDownload, CTransfers::m_pSection, m_wndTip, MoveSelected(), NULL, OnEnterKey(), SelectAll(), SelectTo(), Transfers, and Update(). |
|
Definition at line 1909 of file CtrlDownloads.cpp. |
|
Definition at line 1787 of file CtrlDownloads.cpp. References GetExpandableColumnX(), CDownloadWithSources::GetFirstSource(), HitTest(), ID_DOWNLOADS_LAUNCH, ID_TRANSFERS_CONNECT, IsExpandable(), CDownload::m_bExpanded, CDownloadSource::m_bSelected, CDownloadSource::m_pNext, CTransfers::m_pSection, NULL, Transfers, and Update(). |
|
Definition at line 1714 of file CtrlDownloads.cpp. References DeselectAll(), GetExpandableColumnX(), CDownloadWithSources::GetFirstSource(), GetSelectedCount(), CCoolTipCtrl::Hide(), HitTest(), IsExpandable(), m_bDrag, CDownload::m_bExpanded, CDownload::m_bSelected, CDownloadSource::m_bSelected, m_pDeselect1, m_pDeselect2, CDownloadSource::m_pNext, CTransfers::m_pSection, m_ptDrag, m_wndTip, NULL, SelectTo(), Transfers, and Update(). Referenced by OnRButtonDown(). |
|
Definition at line 1867 of file CtrlDownloads.cpp. References DeselectAll(), m_bDrag, m_pDeselect1, m_pDeselect2, and NULL. |
|
Definition at line 1829 of file CtrlDownloads.cpp. References CCoolTipCtrl::Hide(), HitTest(), m_bDrag, m_ptDrag, m_wndTip, NULL, OnBeginDrag(), and CCoolTipCtrl::Show(). |
|
Definition at line 1394 of file CtrlDownloads.cpp. References m_nScrollWheelLines, NULL, and OnVScroll(). |
|
|
Definition at line 1780 of file CtrlDownloads.cpp. References CCoolTipCtrl::Hide(), m_wndTip, and OnLButtonDown(). |
|
Definition at line 1885 of file CtrlDownloads.cpp. References DeselectAll(), m_bDrag, m_pDeselect1, m_pDeselect2, and NULL. |
|
Definition at line 1903 of file CtrlDownloads.cpp. |
|
Definition at line 737 of file CtrlDownloads.cpp. References CSettings::Downloads, Downloads, dtsConnecting, CDownloadWithSources::GetFirstSource(), CDownloads::GetIterator(), CDownloads::GetNext(), CDownloadWithSources::GetSourceCount(), HEADER_HEIGHT, IsFiltered(), ITEM_HEIGHT, CDownload::m_bExpanded, CDownload::m_bSelected, m_nFocus, CDownload::m_nGroupCookie, m_nGroupCookie, CTransfers::m_pSection, m_wndHeader, NULL, Settings, CSettings::sDownloads::ShowSources, and Transfers. Referenced by Update(). |
|
Definition at line 1600 of file CtrlDownloads.cpp. References BubbleSortDownloads(), CTransfers::m_pSection, and Transfers. |
|
Definition at line 1301 of file CtrlDownloads.cpp. Referenced by OnMouseWheel(). |
|
|
|
Definition at line 194 of file CtrlDownloads.cpp. References m_wndHeader, and theApp. Referenced by OnDestroy(). |
|
Definition at line 395 of file CtrlDownloads.cpp. References Downloads, CDownloadWithSources::GetFirstSource(), CDownloads::GetIterator(), CDownloads::GetNext(), CDownloadSource::m_bSelected, CDownload::m_bSelected, CDownloadSource::m_pNext, CTransfers::m_pSection, NULL, and Transfers. Referenced by OnKeyDown(). |
|
Definition at line 310 of file CtrlDownloads.cpp. References DeselectAll(), GetAt(), HEADER_HEIGHT, ITEM_HEIGHT, CDownloadSource::m_bSelected, CDownload::m_bSelected, m_nFocus, m_pDeselect1, m_pDeselect2, CTransfers::m_pSection, NULL, Transfers, and Update(). Referenced by OnKeyDown(), and OnLButtonDown(). |
|
Definition at line 111 of file CtrlDownloads.cpp. References m_nGroupCookie, and OnSize(). |
|
Definition at line 105 of file CtrlDownloads.cpp. References OnSize(). Referenced by MoveSelected(), OnChangeHeader(), OnKeyDown(), OnLButtonDblClk(), OnLButtonDown(), SelectTo(), and CDownloadsWnd::Update(). |
|
Definition at line 70 of file CtrlDownloads.h. |
|
Definition at line 79 of file CtrlDownloads.h. Referenced by OnBeginDrag(), OnCreate(), PaintDownload(), and PaintSource(). |
|
Definition at line 81 of file CtrlDownloads.h. Referenced by OnCreate(), OnLButtonDown(), OnLButtonUp(), OnMouseMove(), and OnRButtonUp(). |
|
Definition at line 78 of file CtrlDownloads.h. Referenced by OnCreate(), OnEnterKey(), OnKeyDown(), OnPaint(), OnSize(), and SelectTo(). |
|
Definition at line 77 of file CtrlDownloads.h. Referenced by GetAt(), GetRect(), HitTest(), OnCreate(), OnPaint(), OnSize(), and Update(). |
|
Definition at line 86 of file CtrlDownloads.h. Referenced by OnMouseWheel(). |
|
Definition at line 85 of file CtrlDownloads.h. Referenced by BubbleSortDownloads(), OnCreate(), and OnDestroy(). |
|
Definition at line 83 of file CtrlDownloads.h. Referenced by OnBeginDrag(), OnCreate(), OnLButtonDown(), OnLButtonUp(), OnRButtonUp(), and SelectTo(). |
|
Definition at line 84 of file CtrlDownloads.h. Referenced by OnBeginDrag(), OnCreate(), OnLButtonDown(), OnLButtonUp(), OnRButtonUp(), and SelectTo(). |
|
Definition at line 80 of file CtrlDownloads.h. Referenced by DropObjects(), DropShowTarget(), OnBeginDrag(), OnCreate(), and OnPaint(). |
|
Definition at line 76 of file CtrlDownloads.h. Referenced by OnCreate(), and PaintSource(). |
|
Definition at line 82 of file CtrlDownloads.h. Referenced by OnLButtonDown(), and OnMouseMove(). |
|
Definition at line 74 of file CtrlDownloads.h. Referenced by GetExpandableColumnX(), InsertColumn(), LoadColumnState(), OnCreate(), OnHScroll(), OnSize(), CDownloadsWnd::OnSkinChange(), PaintDownload(), PaintSource(), and SaveColumnState(). |
|
Definition at line 75 of file CtrlDownloads.h. Referenced by OnBeginDrag(), OnCreate(), OnKeyDown(), OnLButtonDown(), OnMouseMove(), and OnRButtonDown(). |