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

CLibraryWnd Class Reference

#include <WndLibrary.h>

Inheritance diagram for CLibraryWnd:

CPanelWnd CChildWnd List of all members.

Public Member Functions

 CLibraryWnd ()
virtual ~CLibraryWnd ()
BOOL Display (CLibraryFile *pFile)
BOOL Display (CAlbumFolder *pFolder)
BOOL OnCollection (LPCTSTR pszPath)
virtual void OnSkinChange ()
virtual HRESULT GetGenericView (IGenericView **ppView)
virtual BOOL OnCmdMsg (UINT nID, int nCode, void *pExtra, AFX_CMDHANDLERINFO *pHandlerInfo)

Public Attributes

CLibraryFrame m_wndFrame
DWORD m_tLast

Protected Member Functions

afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnDestroy ()
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg void OnMDIActivate (BOOL bActivate, CWnd *pActivateWnd, CWnd *pDeactivateWnd)
afx_msg void OnTimer (UINT nIDEvent)

Constructor & Destructor Documentation

CLibraryWnd::CLibraryWnd  ) 
 

Definition at line 56 of file WndLibrary.cpp.

References IDR_LIBRARYFRAME.

CLibraryWnd::~CLibraryWnd  )  [virtual]
 

Definition at line 61 of file WndLibrary.cpp.


Member Function Documentation

BOOL CLibraryWnd::Display CAlbumFolder pFolder  ) 
 

Definition at line 73 of file WndLibrary.cpp.

References CLibraryFrame::Display(), and m_wndFrame.

BOOL CLibraryWnd::Display CLibraryFile pFile  ) 
 

Definition at line 68 of file WndLibrary.cpp.

References CLibraryFrame::Display(), and m_wndFrame.

Referenced by OnCollection().

HRESULT CLibraryWnd::GetGenericView IGenericView **  ppView  )  [virtual]
 

Reimplemented from CChildWnd.

Definition at line 156 of file WndLibrary.cpp.

References CComObject::GetInterface(), CLibraryFrame::GetViewSelection(), m_wndFrame, and NULL.

BOOL CLibraryWnd::OnCmdMsg UINT  nID,
int  nCode,
void *  pExtra,
AFX_CMDHANDLERINFO *  pHandlerInfo
[virtual]
 

Reimplemented from CChildWnd.

Definition at line 100 of file WndLibrary.cpp.

References m_wndFrame, CChildWnd::OnCmdMsg(), and CLibraryFrame::OnCmdMsg().

BOOL CLibraryWnd::OnCollection LPCTSTR  pszPath  ) 
 

Definition at line 164 of file WndLibrary.cpp.

References CLibraryFolders::AddFolder(), CSettings::sDownloads::CollectionPath, Display(), CSettings::Downloads, CLibraryFolders::GetCollection(), CLibraryFolders::GetFolder(), CCollectionFile::GetTitle(), IDS_LIBRARY_COLLECTION_CANT_INSTALL, IDS_LIBRARY_COLLECTION_INSTALLED, IDS_LIBRARY_COLLECTION_INVALID, Library, LibraryBuilder, LibraryFolders, LibraryMaps, LoadString(), CLibraryMaps::LookupFileByPath(), CLibrary::m_pSection, CLibraryFolders::MountCollection(), NULL, CCollectionFile::Open(), CLibraryBuilder::RequestPriority(), CLibraryFolder::Scan(), and Settings.

int CLibraryWnd::OnCreate LPCREATESTRUCT  lpCreateStruct  )  [protected]
 

Reimplemented from CPanelWnd.

Definition at line 81 of file WndLibrary.cpp.

References CLibraryFrame::Create(), CChildWnd::LoadState(), m_tLast, m_wndFrame, and CPanelWnd::OnCreate().

void CLibraryWnd::OnDestroy  )  [protected]
 

Reimplemented from CChildWnd.

Definition at line 94 of file WndLibrary.cpp.

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

void CLibraryWnd::OnMDIActivate BOOL  bActivate,
CWnd *  pActivateWnd,
CWnd *  pDeactivateWnd
[protected]
 

Reimplemented from CChildWnd.

Definition at line 116 of file WndLibrary.cpp.

References m_wndFrame, CChildWnd::OnMDIActivate(), and CLibraryFrame::Update().

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

Reimplemented from CPanelWnd.

Definition at line 110 of file WndLibrary.cpp.

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

void CLibraryWnd::OnSkinChange  )  [virtual]
 

Reimplemented from CChildWnd.

Definition at line 147 of file WndLibrary.cpp.

References m_wndFrame, CLibraryFrame::OnSkinChange(), and CChildWnd::OnSkinChange().

void CLibraryWnd::OnTimer UINT  nIDEvent  )  [protected]
 

Definition at line 127 of file WndLibrary.cpp.

References CChildWnd::IsPartiallyVisible(), m_tLast, m_wndFrame, and CLibraryFrame::Update().


Member Data Documentation

DWORD CLibraryWnd::m_tLast
 

Definition at line 46 of file WndLibrary.h.

Referenced by OnCreate(), and OnTimer().

CLibraryFrame CLibraryWnd::m_wndFrame
 

Definition at line 45 of file WndLibrary.h.

Referenced by Display(), GetGenericView(), OnCmdMsg(), OnCreate(), OnMDIActivate(), OnSize(), OnSkinChange(), and OnTimer().


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