📄 rxmediaplayerdlg.h
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -