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

CMediaWnd Class Reference

#include <WndMedia.h>

Inheritance diagram for CMediaWnd:

CPanelWnd CChildWnd List of all members.

Public Member Functions

 CMediaWnd ()
virtual ~CMediaWnd ()
virtual void OnSkinChange ()
virtual BOOL OnDropFiles (CStringList &pFiles, const CPoint &ptScreen, BOOL bDrop)
virtual BOOL PlayFile (LPCTSTR pszFile)
virtual BOOL EnqueueFile (LPCTSTR pszFile)
virtual BOOL IsPlaying ()
virtual void OnFileDelete (LPCTSTR pszFile)
virtual BOOL OnCmdMsg (UINT nID, int nCode, void *pExtra, AFX_CMDHANDLERINFO *pHandlerInfo)
virtual BOOL PreTranslateMessage (MSG *pMsg)

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 OnPaint ()
afx_msg void OnSysCommand (UINT nID, LPARAM lParam)
afx_msg BOOL OnNcActivate (BOOL bActive)
afx_msg LONG OnIdleUpdateCmdUI (WPARAM wParam, LPARAM lParam)
afx_msg LONG OnMediaKey (WPARAM wParam, LPARAM lParam)
afx_msg LONG OnDevModeChange (WPARAM wParam, LPARAM lParam)
afx_msg LONG OnDisplayChange (WPARAM wParam, LPARAM lParam)
afx_msg void OnDropFiles (HDROP hDropInfo)

Protected Attributes

CMediaFrame m_wndFrame

Constructor & Destructor Documentation

CMediaWnd::CMediaWnd  ) 
 

Definition at line 59 of file WndMedia.cpp.

References IDR_MEDIAFRAME.

CMediaWnd::~CMediaWnd  )  [virtual]
 

Definition at line 65 of file WndMedia.cpp.


Member Function Documentation

BOOL CMediaWnd::EnqueueFile LPCTSTR  pszFile  )  [virtual]
 

Definition at line 77 of file WndMedia.cpp.

References CMediaFrame::EnqueueFile(), and m_wndFrame.

Referenced by OnDropFiles().

BOOL CMediaWnd::IsPlaying  )  [virtual]
 

Definition at line 82 of file WndMedia.cpp.

References CMediaFrame::IsPlaying(), and m_wndFrame.

Referenced by CMainWnd::OnUpdateTabMedia().

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

Reimplemented from CChildWnd.

Definition at line 119 of file WndMedia.cpp.

References m_wndFrame, NULL, CChildWnd::OnCmdMsg(), and CMediaFrame::OnCmdMsg().

int CMediaWnd::OnCreate LPCREATESTRUCT  lpCreateStruct  )  [protected]
 

Reimplemented from CPanelWnd.

Definition at line 95 of file WndMedia.cpp.

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

void CMediaWnd::OnDestroy  )  [protected]
 

Reimplemented from CChildWnd.

Definition at line 107 of file WndMedia.cpp.

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

LONG CMediaWnd::OnDevModeChange WPARAM  wParam,
LPARAM  lParam
[protected]
 

Definition at line 189 of file WndMedia.cpp.

References m_wndFrame.

LONG CMediaWnd::OnDisplayChange WPARAM  wParam,
LPARAM  lParam
[protected]
 

Definition at line 194 of file WndMedia.cpp.

References m_wndFrame.

void CMediaWnd::OnDropFiles HDROP  hDropInfo  )  [protected]
 

Definition at line 227 of file WndMedia.cpp.

References NULL, and OnDropFiles().

BOOL CMediaWnd::OnDropFiles CStringList &  pFiles,
const CPoint &  ptScreen,
BOOL  bDrop
[virtual]
 

Reimplemented from CChildWnd.

Definition at line 199 of file WndMedia.cpp.

References EnqueueFile(), m_wndFrame, NULL, and PlayFile().

Referenced by OnDropFiles().

void CMediaWnd::OnFileDelete LPCTSTR  pszFile  )  [virtual]
 

Definition at line 87 of file WndMedia.cpp.

References m_wndFrame, and CMediaFrame::OnFileDelete().

Referenced by CUploads::OnRename().

LONG CMediaWnd::OnIdleUpdateCmdUI WPARAM  wParam,
LPARAM  lParam
[protected]
 

Definition at line 129 of file WndMedia.cpp.

References m_wndFrame, NULL, and CMediaFrame::OnUpdateCmdUI().

LONG CMediaWnd::OnMediaKey WPARAM  wParam,
LPARAM  lParam
[protected]
 

Definition at line 184 of file WndMedia.cpp.

References m_wndFrame.

BOOL CMediaWnd::OnNcActivate BOOL  bActive  )  [protected]
 

Reimplemented from CPanelWnd.

Definition at line 249 of file WndMedia.cpp.

References m_wndFrame, CPanelWnd::OnNcActivate(), and CMediaFrame::UpdateScreenSaverStatus().

void CMediaWnd::OnPaint  )  [protected]
 

Definition at line 172 of file WndMedia.cpp.

References m_wndFrame, and NULL.

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

Reimplemented from CPanelWnd.

Definition at line 162 of file WndMedia.cpp.

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

void CMediaWnd::OnSkinChange  )  [virtual]
 

Reimplemented from CChildWnd.

Definition at line 113 of file WndMedia.cpp.

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

void CMediaWnd::OnSysCommand UINT  nID,
LPARAM  lParam
[protected]
 

Reimplemented from CChildWnd.

Definition at line 151 of file WndMedia.cpp.

References CChildWnd::OnSysCommand().

BOOL CMediaWnd::PlayFile LPCTSTR  pszFile  )  [virtual]
 

Definition at line 72 of file WndMedia.cpp.

References m_wndFrame, and CMediaFrame::PlayFile().

Referenced by OnDropFiles().

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

Definition at line 141 of file WndMedia.cpp.

References m_wndFrame, and CMediaFrame::PreTranslateMessage().


Member Data Documentation

CMediaFrame CMediaWnd::m_wndFrame [protected]
 

Definition at line 42 of file WndMedia.h.

Referenced by EnqueueFile(), IsPlaying(), OnCmdMsg(), OnCreate(), OnDevModeChange(), OnDisplayChange(), OnDropFiles(), OnFileDelete(), OnIdleUpdateCmdUI(), OnMediaKey(), OnNcActivate(), OnPaint(), OnSize(), OnSkinChange(), PlayFile(), and PreTranslateMessage().


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