CDlgVidSeek Class Reference

#include <DlgVidSeek.h>

List of all members.

Public Types

enum  { IDD = IDD_VIDSEEK }

Public Member Functions

CString GetDuration ()
void Set_MediaSeeking (IMediaSeeking *seek)
 CDlgVidSeek (CWnd *pParent=NULL)

Public Attributes

HWND m_hWndDuration
CSliderCtrl m_wndSeek

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
CString DurationToString (LONGLONG llDur, BOOL *pbNeedHours=NULL)
afx_msg HBRUSH OnCtlColor (CDC *pDC, CWnd *pWnd, UINT nCtlColor)
afx_msg void OnSize (UINT nType, int cx, int cy)
virtual BOOL OnInitDialog ()
afx_msg void OnTimer (UINT nIDEvent)
afx_msg void OnHScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar)

Protected Attributes

CBrush m_brClrWindow
LONGLONG m_llDuration
IMediaSeeking * m_seek


Detailed Description

Definition at line 13 of file DlgVidSeek.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
IDD 

Definition at line 24 of file DlgVidSeek.h.


Constructor & Destructor Documentation

CDlgVidSeek::CDlgVidSeek ( CWnd *  pParent = NULL  ) 

Definition at line 16 of file DlgVidSeek.cpp.

References m_hWndDuration, m_seek, and NULL.


Member Function Documentation

CString CDlgVidSeek::GetDuration (  ) 

Definition at line 148 of file DlgVidSeek.cpp.

References BOOL, DurationToString(), FALSE, m_llDuration, m_seek, and NULL.

Referenced by CDownloads_VideoPreview::GetDuration(), and OnTimer().

void CDlgVidSeek::Set_MediaSeeking ( IMediaSeeking *  seek  ) 

Definition at line 122 of file DlgVidSeek.cpp.

References FAILED, m_llDuration, m_seek, m_wndSeek, and NULL.

Referenced by CDownloads_VideoPreview::Play(), and CDownloads_VideoPreview::Stop().

void CDlgVidSeek::DoDataExchange ( CDataExchange *  pDX  )  [protected, virtual]

Definition at line 23 of file DlgVidSeek.cpp.

References IDC_SEEK, and m_wndSeek.

CString CDlgVidSeek::DurationToString ( LONGLONG  llDur,
BOOL *  pbNeedHours = NULL 
) [protected]

Definition at line 175 of file DlgVidSeek.cpp.

References BOOL, FALSE, and TRUE.

Referenced by GetDuration().

HBRUSH CDlgVidSeek::OnCtlColor ( CDC *  pDC,
CWnd *  pWnd,
UINT  nCtlColor 
) [protected]

Definition at line 40 of file DlgVidSeek.cpp.

References m_brClrWindow.

void CDlgVidSeek::OnSize ( UINT  nType,
int  cx,
int  cy 
) [protected]

Definition at line 47 of file DlgVidSeek.cpp.

References m_wndSeek, and CDownloads_VideoPreview::OnSize().

BOOL CDlgVidSeek::OnInitDialog (  )  [protected, virtual]

Definition at line 54 of file DlgVidSeek.cpp.

References FALSE, m_brClrWindow, m_seek, m_wndSeek, NULL, and TRUE.

void CDlgVidSeek::OnTimer ( UINT  nIDEvent  )  [protected]

Definition at line 66 of file DlgVidSeek.cpp.

References GetDuration(), m_hWndDuration, m_llDuration, m_seek, m_wndSeek, NULL, and pos().

void CDlgVidSeek::OnHScroll ( UINT  nSBCode,
UINT  nPos,
CScrollBar *  pScrollBar 
) [protected]

Definition at line 89 of file DlgVidSeek.cpp.

References BOOL, FALSE, m_llDuration, m_seek, m_wndSeek, NULL, pos(), and TRUE.


Member Data Documentation

Definition at line 17 of file DlgVidSeek.h.

Referenced by CDlgVidSeek(), CDownloads_VideoPreview::OnCreate(), and OnTimer().

Definition at line 25 of file DlgVidSeek.h.

Referenced by DoDataExchange(), OnHScroll(), OnInitDialog(), OnSize(), OnTimer(), and Set_MediaSeeking().

CBrush CDlgVidSeek::m_brClrWindow [protected]

Definition at line 34 of file DlgVidSeek.h.

Referenced by OnCtlColor(), and OnInitDialog().

Definition at line 36 of file DlgVidSeek.h.

Referenced by GetDuration(), OnHScroll(), OnTimer(), and Set_MediaSeeking().

IMediaSeeking* CDlgVidSeek::m_seek [protected]


The documentation for this class was generated from the following files:

Generated on Sun May 25 00:20:41 2008 by  doxygen 1.5.6