#include <DlgVidSeek.h>
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 |
Definition at line 13 of file DlgVidSeek.h.
| anonymous enum |
| CDlgVidSeek::CDlgVidSeek | ( | CWnd * | pParent = NULL |
) |
| 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] |
| 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] |
| 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().
Definition at line 89 of file DlgVidSeek.cpp.
References BOOL, FALSE, m_llDuration, m_seek, m_wndSeek, NULL, pos(), and TRUE.
Definition at line 17 of file DlgVidSeek.h.
Referenced by CDlgVidSeek(), CDownloads_VideoPreview::OnCreate(), and OnTimer().
| CSliderCtrl CDlgVidSeek::m_wndSeek |
Definition at line 25 of file DlgVidSeek.h.
Referenced by DoDataExchange(), OnHScroll(), OnInitDialog(), OnSize(), OnTimer(), and Set_MediaSeeking().
CBrush CDlgVidSeek::m_brClrWindow [protected] |
LONGLONG CDlgVidSeek::m_llDuration [protected] |
Definition at line 36 of file DlgVidSeek.h.
Referenced by GetDuration(), OnHScroll(), OnTimer(), and Set_MediaSeeking().
IMediaSeeking* CDlgVidSeek::m_seek [protected] |
Definition at line 37 of file DlgVidSeek.h.
Referenced by CDlgVidSeek(), GetDuration(), OnHScroll(), OnInitDialog(), OnTimer(), and Set_MediaSeeking().
1.5.6