Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CSystemWnd Class Reference

#include <WndSystem.h>

Inheritance diagram for CSystemWnd:

CPanelWnd CChildWnd List of all members.

Public Member Functions

 CSystemWnd ()
virtual ~CSystemWnd ()
void Add (int nType, LPCTSTR pszText)
void Clear ()
void ShowStartupText ()
void OnSkinChange ()
virtual BOOL PreTranslateMessage (MSG *pMsg)

Protected Member Functions

afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg void OnContextMenu (CWnd *pWnd, CPoint point)
afx_msg void OnSystemClear ()
afx_msg void OnDestroy ()
afx_msg void OnUpdateSystemVerbose (CCmdUI *pCmdUI)
afx_msg void OnSystemVerbose ()
afx_msg void OnUpdateSystemTimestamp (CCmdUI *pCmdUI)
afx_msg void OnSystemTimestamp ()
afx_msg void OnSystemTest ()

Protected Attributes

CTextCtrl m_wndText

Constructor & Destructor Documentation

CSystemWnd::CSystemWnd  ) 
 

Definition at line 56 of file WndSystem.cpp.

References IDR_SYSTEMFRAME.

CSystemWnd::~CSystemWnd  )  [virtual]
 

Definition at line 61 of file WndSystem.cpp.


Member Function Documentation

void CSystemWnd::Add int  nType,
LPCTSTR  pszText
 

Definition at line 68 of file WndSystem.cpp.

References CTextCtrl::AddLine(), CSettings::sGeneral::Debug, CSettings::General, m_wndText, MSG_DEBUG, MSG_SYSTEM, Settings, CSettings::sGeneral::ShowTimestamp, and CSettings::sGeneral::VerboseMode.

void CSystemWnd::Clear  ) 
 

Definition at line 87 of file WndSystem.cpp.

References CTextCtrl::Clear(), and m_wndText.

Referenced by OnSystemClear().

void CSystemWnd::OnContextMenu CWnd *  pWnd,
CPoint  point
[protected]
 

Definition at line 156 of file WndSystem.cpp.

References CChildWnd::TrackPopupMenu().

int CSystemWnd::OnCreate LPCREATESTRUCT  lpCreateStruct  )  [protected]
 

Reimplemented from CPanelWnd.

Definition at line 130 of file WndSystem.cpp.

References CTextCtrl::Create(), CNeighboursWithConnect::IsG1UltrapeerCapable(), CNeighboursWithConnect::IsG2HubCapable(), CChildWnd::LoadState(), m_wndText, CShareazaApp::Message(), MSG_DEBUG, Neighbours, CPanelWnd::OnCreate(), and theApp.

void CSystemWnd::OnDestroy  )  [protected]
 

Reimplemented from CChildWnd.

Definition at line 144 of file WndSystem.cpp.

References CChildWnd::OnDestroy(), and CChildWnd::SaveState().

void CSystemWnd::OnSize UINT  nType,
int  cx,
int  cy
[protected]
 

Reimplemented from CPanelWnd.

Definition at line 150 of file WndSystem.cpp.

References m_wndText, NULL, and CPanelWnd::OnSize().

void CSystemWnd::OnSkinChange  )  [virtual]
 

Reimplemented from CChildWnd.

Definition at line 92 of file WndSystem.cpp.

References CTextCtrl::Clear(), CSettings::Live, CSettings::sLive::LoadWindowState, m_wndText, CChildWnd::OnSkinChange(), Settings, and ShowStartupText().

void CSystemWnd::OnSystemClear  )  [protected]
 

Definition at line 200 of file WndSystem.cpp.

References Clear().

void CSystemWnd::OnSystemTest  )  [protected]
 

Definition at line 207 of file WndSystem.cpp.

References CCrawlSession::Bootstrap(), CrawlSession, CCrawlSession::GetHubCount(), CCrawlSession::GetLeafCount(), CCrawlSession::m_bActive, CShareazaApp::Message(), MSG_SYSTEM, and theApp.

void CSystemWnd::OnSystemTimestamp  )  [protected]
 

Definition at line 195 of file WndSystem.cpp.

References CSettings::General, Settings, and CSettings::sGeneral::ShowTimestamp.

void CSystemWnd::OnSystemVerbose  )  [protected]
 

Definition at line 185 of file WndSystem.cpp.

References CSettings::General, Settings, and CSettings::sGeneral::VerboseMode.

void CSystemWnd::OnUpdateSystemTimestamp CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 190 of file WndSystem.cpp.

References CSettings::General, Settings, and CSettings::sGeneral::ShowTimestamp.

void CSystemWnd::OnUpdateSystemVerbose CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 180 of file WndSystem.cpp.

References CSettings::General, Settings, and CSettings::sGeneral::VerboseMode.

BOOL CSystemWnd::PreTranslateMessage MSG *  pMsg  )  [virtual]
 

Definition at line 161 of file WndSystem.cpp.

References m_wndText, and NULL.

void CSystemWnd::ShowStartupText  ) 
 

Definition at line 102 of file WndSystem.cpp.

References CTextCtrl::AddLine(), IDS_SYSTEM_MESSAGE, CSkin::LoadString(), CShareazaApp::m_sVersion, m_wndText, MSG_DEFAULT, MSG_SYSTEM, Replace(), Skin, and theApp.

Referenced by OnSkinChange().


Member Data Documentation

CTextCtrl CSystemWnd::m_wndText [protected]
 

Definition at line 42 of file WndSystem.h.

Referenced by Add(), Clear(), OnCreate(), OnSize(), OnSkinChange(), PreTranslateMessage(), and ShowStartupText().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:12 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2