#include <WndLog.h>

Public Member Functions | |
| CWndLog () | |
| void | SetEvMgr (fsEventsMgr *mgr) |
| void | ApplyLanguageToMenu (CMenu *menu) |
| void | ApplyLanguage () |
| void | AddRecord (struct fsDescEvent *ev) |
| BOOL | Create (CWnd *pParent) |
| virtual | ~CWndLog () |
Protected Member Functions | |
| void | OnForceUpdate () |
| void | CalcCoordsForCurSel () |
| void | OnKeyDown (WORD wVK) |
| void | OnRClick () |
| afx_msg void | OnRButtonDown (UINT nFlags, CPoint point) |
| afx_msg void | OnAutoscroll () |
| afx_msg void | OnClear () |
| afx_msg void | OnMeasureItem (int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct) |
| afx_msg void | OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct) |
| afx_msg void | OnCopyToCb () |
Protected Attributes | |
| fsEventsMgr * | m_pEvMgr |
| fsODMenu | m_odmenu |
| CPoint | m_rbPt |
| BOOL | m_bAutoScroll |
| CImageList | m_images |
Definition at line 17 of file WndLog.h.
| CWndLog::CWndLog | ( | ) |
| CWndLog::~CWndLog | ( | ) | [virtual] |
Definition at line 25 of file WndLog.cpp.
| void CWndLog::SetEvMgr | ( | fsEventsMgr * | mgr | ) |
Definition at line 191 of file WndLog.cpp.
References m_pEvMgr.
Referenced by CHFEWnd::CHFEWnd(), and CShedulerWnd::CShedulerWnd().
| void CWndLog::ApplyLanguageToMenu | ( | CMenu * | menu | ) |
Definition at line 140 of file WndLog.cpp.
References ID_AUTOSCROLL, ID_CLEAR, ID_COPY_TO_CB, L_AUTOSCROLL, L_CLEAR, L_COPYTOCB, and LS.
Referenced by OnRClick().
| void CWndLog::ApplyLanguage | ( | ) |
Definition at line 133 of file WndLog.cpp.
References L_DATE, L_INFORMATION, L_TIME, LS, and CListCtrlEx::SetColumnText().
Referenced by CHFE_ListLog::ApplyLanguage(), and CShedulerWnd::Plugin_SetLanguage().
| void CWndLog::AddRecord | ( | struct fsDescEvent * | ev | ) |
Definition at line 64 of file WndLog.cpp.
References CListCtrlEx::AddItem(), fsDescEvent::clrBg, fsDescEvent::clrText, FALSE, fsDescEvent::iImage, m_bAutoScroll, fsDescEvent::pszEvent, CListCtrlEx::SetItemText(), SystemTimeToStr(), and fsDescEvent::timeEvent.
Referenced by CHFEWnd::_EventsFunc(), CShedulerWnd::_ScheduleMgrEventDesc(), CShedulerWnd::LoadTasks(), CHFEWnd::LogFailedMessage(), and OnForceUpdate().
| BOOL CWndLog::Create | ( | CWnd * | pParent | ) |
Reimplemented in CHFE_Log, and CScheduler_Log.
Definition at line 40 of file WndLog.cpp.
References FALSE, IDB_LOGSTATES, m_images, SBMP, and TRUE.
Referenced by CScheduler_Log::Create(), and CHFE_Log::Create().
| void CWndLog::OnForceUpdate | ( | ) | [protected, virtual] |
Reimplemented from CListCtrlEx.
Definition at line 179 of file WndLog.cpp.
References AddRecord(), fsEventsMgr::GetEvent(), fsEventsMgr::GetEventCount(), and m_pEvMgr.
| void CWndLog::CalcCoordsForCurSel | ( | ) | [protected] |
| void CWndLog::OnKeyDown | ( | WORD | wVK | ) | [protected, virtual] |
Reimplemented from CListCtrlEx.
Definition at line 147 of file WndLog.cpp.
References CalcCoordsForCurSel(), and OnRClick().
| void CWndLog::OnRClick | ( | ) | [protected, virtual] |
Reimplemented from CListCtrlEx.
Definition at line 81 of file WndLog.cpp.
References ApplyLanguageToMenu(), fsODMenu::Attach(), fsODMenu::Detach(), FALSE, ID_AUTOSCROLL, ID_CLEAR, ID_COPY_TO_CB, IDM_LOG, m_bAutoScroll, m_odmenu, and m_rbPt.
Referenced by OnKeyDown().
| void CWndLog::OnRButtonDown | ( | UINT | nFlags, | |
| CPoint | point | |||
| ) | [protected] |
| void CWndLog::OnAutoscroll | ( | ) | [protected] |
| void CWndLog::OnClear | ( | ) | [protected] |
Reimplemented in CHFE_Log, and CScheduler_Log.
Definition at line 118 of file WndLog.cpp.
Referenced by CScheduler_Log::OnClear(), and CHFE_Log::OnClear().
| void CWndLog::OnMeasureItem | ( | int | nIDCtl, | |
| LPMEASUREITEMSTRUCT | lpMeasureItemStruct | |||
| ) | [protected] |
| void CWndLog::OnDrawItem | ( | int | nIDCtl, | |
| LPDRAWITEMSTRUCT | lpDrawItemStruct | |||
| ) | [protected] |
| void CWndLog::OnCopyToCb | ( | ) | [protected] |
Definition at line 196 of file WndLog.cpp.
References _ClipbrdMgr, fsEventsMgr::GetEvent(), fsEventsMgr::GetEventCount(), m_pEvMgr, SystemTimeToStr(), and fsClipboardMgr::Text().
fsEventsMgr* CWndLog::m_pEvMgr [protected] |
Definition at line 43 of file WndLog.h.
Referenced by CWndLog(), OnCopyToCb(), OnForceUpdate(), and SetEvMgr().
fsODMenu CWndLog::m_odmenu [protected] |
Definition at line 49 of file WndLog.h.
Referenced by OnDrawItem(), OnMeasureItem(), and OnRClick().
CPoint CWndLog::m_rbPt [protected] |
Reimplemented in CScheduler_Log.
Definition at line 50 of file WndLog.h.
Referenced by CalcCoordsForCurSel(), OnRButtonDown(), and OnRClick().
BOOL CWndLog::m_bAutoScroll [protected] |
Reimplemented in CScheduler_Log.
Definition at line 52 of file WndLog.h.
Referenced by AddRecord(), CWndLog(), OnAutoscroll(), and OnRClick().
CImageList CWndLog::m_images [protected] |
1.5.6