playerdlg.h

来自「一个简单播放器的教学源码,希望可以供大家学习,未美化!」· C头文件 代码 · 共 63 行

H
63
字号
// PLAYERDlg.h : header file
//
//{{AFX_INCLUDES()
//添加下两行
#include "activemovie3.h"
#include "activemovie2.h"
//}}AFX_INCLUDES

#if !defined(AFX_PLAYERDLG_H__C003CFD4_2F72_11D3_967B_DEADFE000000__INCLUDED_)
#define AFX_PLAYERDLG_H__C003CFD4_2F72_11D3_967B_DEADFE000000__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CPLAYERDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CPLAYERDlg)
	enum { IDD = IDD_PLAYER_DIALOG };
	CActiveMovie2	m_ActiveMovie;//添加的一行
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CPLAYERDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	//以下添加6行
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnButton5();
	afx_msg void OnButton6();
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_PLAYERDLG_H__C003CFD4_2F72_11D3_967B_DEADFE000000__INCLUDED_)

⌨️ 快捷键说明

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