videoplayerdlg.h

来自「这是在一本Visual C++6.0多媒体开发的书上得到的源码,很不错.」· C头文件 代码 · 共 69 行

H
69
字号
// VideoPlayerDlg.h : header file
//

#if !defined(AFX_VIDEOPLAYERDLG_H__B35A40C9_7DB7_11D3_860F_F6E44D6C9F3C__INCLUDED_)
#define AFX_VIDEOPLAYERDLG_H__B35A40C9_7DB7_11D3_860F_F6E44D6C9F3C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CVideoPlayerDlg dialog

#include "Video.h"

class CVideoPlayerDlg : public CDialog
{
// Construction
public:
	CVideoPlayerDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CVideoPlayerDlg)
	enum { IDD = IDD_VIDEOPLAYER_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CVideoPlayerDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON    m_hIcon;
	CVideo   m_Video;
	BOOL     m_bIsOpen;
	BOOL     m_bSound;
	BOOL     m_bLoop;
	BOOL     m_bFullScreen;
	CDialog  *display;

	// Generated message map functions
	//{{AFX_MSG(CVideoPlayerDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnOpen();
	afx_msg void OnStop();
	afx_msg void OnPause();
	afx_msg void OnPlay();
	afx_msg void OnNext();
	afx_msg void OnPrev();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnLoop();
	afx_msg void OnSound();
	afx_msg void OnSpeed();
	afx_msg void OnFullscreen();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_VIDEOPLAYERDLG_H__B35A40C9_7DB7_11D3_860F_F6E44D6C9F3C__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?