-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmediaPlayerView.h
More file actions
46 lines (34 loc) · 850 Bytes
/
mediaPlayerView.h
File metadata and controls
46 lines (34 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// mediaPlayerView.h : CmediaPlayerView 类的接口
//
#pragma once
class CmediaPlayerView : public CView
{
protected: // 仅从序列化创建
CmediaPlayerView();
DECLARE_DYNCREATE(CmediaPlayerView)
// 属性
public:
CmediaPlayerDoc* GetDocument() const;
// 操作
public:
// 重写
public:
virtual void OnDraw(CDC* pDC); // 重写以绘制该视图
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
// 实现
public:
virtual ~CmediaPlayerView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// 生成的消息映射函数
protected:
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // mediaPlayerView.cpp 中的调试版本
inline CmediaPlayerDoc* CmediaPlayerView::GetDocument() const
{ return reinterpret_cast<CmediaPlayerDoc*>(m_pDocument); }
#endif