rxmediaplayerdlg.h

来自「用VC+SQL实现的物流管理系统 “RxMediaPlayer” 文件夹中存放」· C头文件 代码 · 共 76 行

H
76
字号
// RxMediaPlayerDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mediaplayer2.h"
//}}AFX_INCLUDES

#if !defined(AFX_RXMEDIAPLAYERDLG_H__05B3E233_A262_4AAD_AA3A_853373C5BFC7__INCLUDED_)
#define AFX_RXMEDIAPLAYERDLG_H__05B3E233_A262_4AAD_AA3A_853373C5BFC7__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CRxMediaPlayerDlg dialog

class CRxMediaPlayerDlg : public CDialog
{
// Construction
public:
	void Enabled(bool bEnabled);
	CImageList m_ImageList;
	void AddFile();
	CRxMediaPlayerDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CRxMediaPlayerDlg)
	enum { IDD = IDD_RXMEDIAPLAYER_DIALOG };
	CStatic	m_StaBmp;
	CStatic	m_StaTitle;
	CButton	m_ButStop;
	CButton	m_ButPlay;
	CButton	m_ButPause;
	CButton	m_ButExit;
	CTreeCtrl	m_Tree;
	CButton	m_ButAdd;
	CMediaPlayer2	m_Media;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CRxMediaPlayerDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnButadd();
	afx_msg void OnButplay();
	afx_msg void OnButpause();
	afx_msg void OnButstop();
	afx_msg void OnButexit();
	afx_msg void OnRdblclkTree(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnSelchangedTree(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	bool m_bPause;
	CString m_CurPath;
};

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

#endif // !defined(AFX_RXMEDIAPLAYERDLG_H__05B3E233_A262_4AAD_AA3A_853373C5BFC7__INCLUDED_)

⌨️ 快捷键说明

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