00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 Open Download Manager Copyright (c) 2008-2010 OpenDownloadManager.ORG 00004 */ 00005 00006 #if !defined(AFX_WND_LOG_H__E6B6D3C4_EFED_41F6_8C91_0CB7C3FAFB19__INCLUDED_) 00007 #define AFX_WND_LOG_H__E6B6D3C4_EFED_41F6_8C91_0CB7C3FAFB19__INCLUDED_ 00008 00009 #if _MSC_VER > 1000 00010 #pragma once 00011 #endif 00012 00013 #include "ListCtrlEx.h" 00014 #include "fsODMenu.h" 00015 #include "fsEventsMgr.h" 00016 00017 class CWndLog : public CListCtrlEx 00018 { 00019 00020 public: 00021 CWndLog(); 00022 00023 public: 00024 00025 public: 00026 00027 //{{AFX_VIRTUAL(CWndLog) 00028 //}}AFX_VIRTUAL 00029 00030 public: 00031 00032 void SetEvMgr (fsEventsMgr* mgr); 00033 00034 void ApplyLanguageToMenu (CMenu *menu); 00035 void ApplyLanguage(); 00036 00037 void AddRecord (struct fsDescEvent *ev); 00038 00039 BOOL Create (CWnd *pParent); 00040 virtual ~CWndLog(); 00041 00042 protected: 00043 fsEventsMgr* m_pEvMgr; 00044 00045 void OnForceUpdate(); 00046 00047 void CalcCoordsForCurSel(); 00048 void OnKeyDown (WORD wVK); 00049 fsODMenu m_odmenu; 00050 CPoint m_rbPt; 00051 void OnRClick(); 00052 BOOL m_bAutoScroll; 00053 CImageList m_images; 00054 //{{AFX_MSG(CWndLog) 00055 afx_msg void OnRButtonDown(UINT nFlags, CPoint point); 00056 afx_msg void OnAutoscroll(); 00057 afx_msg void OnClear(); 00058 afx_msg void OnMeasureItem(int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct); 00059 afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct); 00060 afx_msg void OnCopyToCb(); 00061 //}}AFX_MSG 00062 00063 DECLARE_MESSAGE_MAP() 00064 }; 00065 00066 //{{AFX_INSERT_LOCATION}//}} 00067 00068 #endif
1.5.6