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

CHomeViewCtrl Class Reference

#include <CtrlHomeView.h>

Inheritance diagram for CHomeViewCtrl:

CRichViewCtrl List of all members.

Public Member Functions

 CHomeViewCtrl ()
virtual ~CHomeViewCtrl ()
virtual BOOL Create (const RECT &rect, CWnd *pParentWnd)
void Setup ()
void Update ()

Public Attributes

CRichDocument m_pDocument
CRichElementm_peHeader
CRichElementm_peSearch
CRichElementm_peUpgrade
CRichElementm_peRemote1
CRichElementm_peRemote2
CHomeSearchCtrl m_wndSearch
CBitmap m_bmHeader1
CBitmap m_bmHeader2

Protected Member Functions

virtual void OnLayoutComplete ()
virtual void OnPaintBegin (CDC *pDC)
virtual void OnVScrolled ()
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnDestroy ()
afx_msg void OnSetFocus (CWnd *pOldWnd)

Constructor & Destructor Documentation

CHomeViewCtrl::CHomeViewCtrl  ) 
 

Definition at line 57 of file CtrlHomeView.cpp.

References NULL.

CHomeViewCtrl::~CHomeViewCtrl  )  [virtual]
 

Definition at line 62 of file CtrlHomeView.cpp.


Member Function Documentation

BOOL CHomeViewCtrl::Create const RECT &  rect,
CWnd *  pParentWnd
[virtual]
 

Definition at line 69 of file CtrlHomeView.cpp.

References CRichViewCtrl::Create(), and IDC_HOME_VIEW.

Referenced by CHomeWnd::OnCreate().

int CHomeViewCtrl::OnCreate LPCREATESTRUCT  lpCreateStruct  )  [protected]
 

Reimplemented from CRichViewCtrl.

Definition at line 74 of file CtrlHomeView.cpp.

References CHomeSearchCtrl::Create(), IDC_HOME_SEARCH, m_wndSearch, CRichViewCtrl::OnCreate(), and Setup().

void CHomeViewCtrl::OnDestroy  )  [protected]
 

Reimplemented from CRichViewCtrl.

Definition at line 85 of file CtrlHomeView.cpp.

References CRichViewCtrl::OnDestroy().

void CHomeViewCtrl::OnLayoutComplete  )  [protected, virtual]
 

Reimplemented from CRichViewCtrl.

Definition at line 176 of file CtrlHomeView.cpp.

References CRichViewCtrl::GetElementRect(), CRichElement::m_nFlags, m_peSearch, m_wndSearch, NULL, and retfHidden.

Referenced by OnVScrolled().

void CHomeViewCtrl::OnPaintBegin CDC *  pDC  )  [protected, virtual]
 

Reimplemented from CRichViewCtrl.

Definition at line 204 of file CtrlHomeView.cpp.

References CRichViewCtrl::GetElementRect(), m_bmHeader1, m_bmHeader2, CRichElement::m_nFlags, m_peHeader, NULL, and retfHidden.

void CHomeViewCtrl::OnSetFocus CWnd *  pOldWnd  )  [protected]
 

Definition at line 258 of file CtrlHomeView.cpp.

References m_wndSearch.

void CHomeViewCtrl::OnVScrolled  )  [protected, virtual]
 

Reimplemented from CRichViewCtrl.

Definition at line 253 of file CtrlHomeView.cpp.

References OnLayoutComplete().

void CHomeViewCtrl::Setup  ) 
 

Definition at line 93 of file CtrlHomeView.cpp.

References CRichDocument::Clear(), CSkin::GetDocument(), CSkin::GetWatermark(), CRichDocument::LoadXML(), m_bmHeader1, m_bmHeader2, CRichDocument::m_crBackground, m_pDocument, m_peHeader, m_peRemote1, m_peRemote2, m_peSearch, m_peUpgrade, m_wndSearch, NULL, CRichViewCtrl::SetDocument(), CHomeSearchCtrl::Setup(), Skin, and Update().

Referenced by OnCreate(), and CHomeWnd::OnSkinChange().

void CHomeViewCtrl::Update  ) 
 

Definition at line 123 of file CtrlHomeView.cpp.

References Datagrams, CSettings::sRemote::Enable, CSettings::sGnutella2::EnableToday, CNeighboursBase::GetCount(), CSettings::Gnutella2, GROUP_CONNECTED, GROUP_DISCONNECTED, GROUP_FIREWALLED, GROUP_REMOTE, GROUP_UPGRADE, CRichViewCtrl::InvalidateIfModified(), CNetwork::IsConnected(), CNetwork::IsListening(), CDatagrams::IsStable(), CShareazaApp::m_bRTL, CVersionChecker::m_bUpgrade, m_pDocument, m_peRemote1, m_peRemote2, m_peUpgrade, CNetwork::m_pHost, CRichElement::m_sLink, CVersionChecker::m_sUpgradePrompt, Neighbours, Network, nrsConnected, CSettings::sGnutella2::NumHubs, CSettings::sRemote::Password, PROTOCOL_G2, CSettings::Remote, CRichElement::SetText(), Settings, CRichDocument::ShowGroup(), theApp, CSettings::sRemote::Username, and VersionChecker.

Referenced by CHomeWnd::OnMDIActivate(), CHomeWnd::OnTimer(), and Setup().


Member Data Documentation

CBitmap CHomeViewCtrl::m_bmHeader1
 

Definition at line 45 of file CtrlHomeView.h.

Referenced by OnPaintBegin(), and Setup().

CBitmap CHomeViewCtrl::m_bmHeader2
 

Definition at line 46 of file CtrlHomeView.h.

Referenced by OnPaintBegin(), and Setup().

CRichDocument CHomeViewCtrl::m_pDocument
 

Reimplemented from CRichViewCtrl.

Definition at line 38 of file CtrlHomeView.h.

Referenced by Setup(), and Update().

CRichElement* CHomeViewCtrl::m_peHeader
 

Definition at line 39 of file CtrlHomeView.h.

Referenced by OnPaintBegin(), and Setup().

CRichElement* CHomeViewCtrl::m_peRemote1
 

Definition at line 42 of file CtrlHomeView.h.

Referenced by Setup(), and Update().

CRichElement* CHomeViewCtrl::m_peRemote2
 

Definition at line 43 of file CtrlHomeView.h.

Referenced by Setup(), and Update().

CRichElement* CHomeViewCtrl::m_peSearch
 

Definition at line 40 of file CtrlHomeView.h.

Referenced by OnLayoutComplete(), and Setup().

CRichElement* CHomeViewCtrl::m_peUpgrade
 

Definition at line 41 of file CtrlHomeView.h.

Referenced by Setup(), and Update().

CHomeSearchCtrl CHomeViewCtrl::m_wndSearch
 

Definition at line 44 of file CtrlHomeView.h.

Referenced by OnCreate(), OnLayoutComplete(), OnSetFocus(), and Setup().


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