CDownloads_Log Class Reference

#include <Downloads_Log.h>

Inheritance diagram for CDownloads_Log:

CListCtrlEx

List of all members.

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


Detailed Description

Definition at line 16 of file Downloads_Log.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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  ) 

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]

Definition at line 217 of file Downloads_Log.cpp.

References m_rbPt, and pos().

Referenced by OnKeyDown().

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]

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

Definition at line 164 of file Downloads_Log.cpp.

References m_rbPt.

void CDownloads_Log::OnAutoscroll (  )  [protected]

Definition at line 171 of file Downloads_Log.cpp.

References m_bAutoScroll.

void CDownloads_Log::OnClear (  )  [protected]

Definition at line 176 of file Downloads_Log.cpp.

References m_pActiveDownload.

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

Definition at line 182 of file Downloads_Log.cpp.

References m_odmenu, and fsODMenu::OnDrawItem().

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]


Member Data Documentation

Definition at line 45 of file Downloads_Log.h.

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

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().

CImageList CDownloads_Log::m_images [protected]

Definition at line 50 of file Downloads_Log.h.

Referenced by Create().


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

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