#include <Downloads_Log.h>

Public Member Functions | |
| CDownloads_Log () | |
| void | ApplyLanguage () |
| void | SetActiveDownload (vmsDownloadSmartPtr dld) |
| void | AddRecord (struct fsDownloadEvents *event) |
| BOOL | Create (CWnd *pParent) |
| virtual | ~CDownloads_Log () |
Protected Member Functions | |
| void | OnForceUpdate () |
| void | CalcCoordsForCurSel () |
| void | OnKeyDown (WORD wVK) |
| void | ApplyLanguageToMenu (CMenu *menu) |
| void | OnRClick () |
| afx_msg void | OnRButtonDown (UINT nFlags, CPoint point) |
| afx_msg void | OnAutoscroll () |
| afx_msg void | OnClear () |
| afx_msg void | OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct) |
| afx_msg void | OnMeasureItem (int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct) |
| afx_msg void | OnCopyToCb () |
Protected Attributes | |
| fsODMenu | m_odmenu |
| BOOL | m_bAutoScroll |
| CPoint | m_rbPt |
| vmsDownloadSmartPtr | m_pActiveDownload |
| CImageList | m_images |
Definition at line 16 of file Downloads_Log.h.
| CDownloads_Log::CDownloads_Log | ( | ) |
Definition at line 17 of file Downloads_Log.cpp.
References m_bAutoScroll, m_pActiveDownload, NULL, and TRUE.
| CDownloads_Log::~CDownloads_Log | ( | ) | [virtual] |
Definition at line 23 of file Downloads_Log.cpp.
| void CDownloads_Log::ApplyLanguage | ( | ) |
Definition at line 192 of file Downloads_Log.cpp.
References L_DATE, L_INFORMATION, L_TIME, LS, and CListCtrlEx::SetColumnText().
Referenced by CDownloads_Info::ApplyLanguage().
| void CDownloads_Log::SetActiveDownload | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 114 of file Downloads_Log.cpp.
References AddRecord(), b, BOOL, m_pActiveDownload, and NULL.
Referenced by OnForceUpdate(), and CDownloads_Info::Set_ActiveDownload().
| void CDownloads_Log::AddRecord | ( | struct fsDownloadEvents * | event | ) |
Definition at line 65 of file Downloads_Log.cpp.
References CListCtrlEx::AddItem(), BOOL, fsDownloadEvents::clrBg, fsDownloadEvents::clrText, FALSE, fsDownloadEvents::iImage, m_bAutoScroll, CListCtrlEx::SetItemText(), SystemTimeToStr(), fsDownloadEvents::timeEvent, and TRUE.
Referenced by CDownloads_Info::AddDownloadEvent(), and SetActiveDownload().
| BOOL CDownloads_Log::Create | ( | CWnd * | pParent | ) |
Definition at line 38 of file Downloads_Log.cpp.
References FALSE, IDB_LOGSTATES, m_images, CListCtrlEx::ReadState(), SBMP, and TRUE.
Referenced by CDownloads_Info::OnCreate().
| void CDownloads_Log::OnForceUpdate | ( | ) | [protected, virtual] |
Reimplemented from CListCtrlEx.
Definition at line 238 of file Downloads_Log.cpp.
References m_pActiveDownload, and SetActiveDownload().
| void CDownloads_Log::CalcCoordsForCurSel | ( | ) | [protected] |
| void CDownloads_Log::OnKeyDown | ( | WORD | wVK | ) | [protected, virtual] |
Reimplemented from CListCtrlEx.
Definition at line 206 of file Downloads_Log.cpp.
References CalcCoordsForCurSel(), and OnRClick().
| void CDownloads_Log::ApplyLanguageToMenu | ( | CMenu * | menu | ) | [protected] |
Definition at line 199 of file Downloads_Log.cpp.
References ID_AUTOSCROLL, ID_CLEAR, ID_COPY_TO_CB, L_AUTOSCROLL, L_CLEAR, L_COPYTOCB, and LS.
Referenced by OnRClick().
| void CDownloads_Log::OnRClick | ( | ) | [protected, virtual] |
Reimplemented from CListCtrlEx.
Definition at line 139 of file Downloads_Log.cpp.
References ApplyLanguageToMenu(), fsODMenu::Attach(), fsODMenu::Detach(), FALSE, ID_AUTOSCROLL, ID_CLEAR, ID_COPY_TO_CB, IDM_LOG, m_bAutoScroll, m_odmenu, m_pActiveDownload, m_rbPt, and NULL.
Referenced by OnKeyDown().
| void CDownloads_Log::OnRButtonDown | ( | UINT | nFlags, | |
| CPoint | point | |||
| ) | [protected] |
| void CDownloads_Log::OnAutoscroll | ( | ) | [protected] |
| void CDownloads_Log::OnClear | ( | ) | [protected] |
| void CDownloads_Log::OnDrawItem | ( | int | nIDCtl, | |
| LPDRAWITEMSTRUCT | lpDrawItemStruct | |||
| ) | [protected] |
| void CDownloads_Log::OnMeasureItem | ( | int | nIDCtl, | |
| LPMEASUREITEMSTRUCT | lpMeasureItemStruct | |||
| ) | [protected] |
Definition at line 187 of file Downloads_Log.cpp.
References m_odmenu, and fsODMenu::OnMeasureItem().
| void CDownloads_Log::OnCopyToCb | ( | ) | [protected] |
Definition at line 243 of file Downloads_Log.cpp.
References _ClipbrdMgr, m_pActiveDownload, SystemTimeToStr(), and fsClipboardMgr::Text().
fsODMenu CDownloads_Log::m_odmenu [protected] |
Definition at line 45 of file Downloads_Log.h.
Referenced by OnDrawItem(), OnMeasureItem(), and OnRClick().
BOOL CDownloads_Log::m_bAutoScroll [protected] |
Definition at line 46 of file Downloads_Log.h.
Referenced by AddRecord(), CDownloads_Log(), OnAutoscroll(), and OnRClick().
CPoint CDownloads_Log::m_rbPt [protected] |
Definition at line 47 of file Downloads_Log.h.
Referenced by CalcCoordsForCurSel(), OnRButtonDown(), and OnRClick().
vmsDownloadSmartPtr CDownloads_Log::m_pActiveDownload [protected] |
Definition at line 48 of file Downloads_Log.h.
Referenced by CDownloads_Log(), OnClear(), OnCopyToCb(), OnForceUpdate(), OnRClick(), and SetActiveDownload().
CImageList CDownloads_Log::m_images [protected] |
1.5.6