📄 mediaplayerdlg.h
字号:
// MediaPlayerDlg.h : header file
//
#if !defined(AFX_MEDIAPLAYERDLG_H__17565871_DA2F_4659_9B12_30A8C1121594__INCLUDED_)
#define AFX_MEDIAPLAYERDLG_H__17565871_DA2F_4659_9B12_30A8C1121594__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "MediaForm.h"
/////////////////////////////////////////////////////////////////////////////
// CMediaPlayerDlg dialog
class CMediaPlayerDlg : public CDialog
{
// Construction
public:
CMediaPlayerDlg(CWnd* pParent = NULL); // standard constructor
int m_view;
CMediaForm* m_pDlg;
CString m_folderName;
bool m_bThreadStatus;
HANDLE m_hThread;
DWORD m_dwExitCode;
// Dialog Data
//{{AFX_DATA(CMediaPlayerDlg)
enum { IDD = IDD_MEDIAPLAYER_DIALOG };
CListBox m_list;
BOOL m_bFullScreen;
int m_h;
int m_w;
int m_x;
int m_y;
int m_mode;
int m_delay;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMediaPlayerDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
void CreateForm();
void InitPlayer();
bool StartPlayer(int vol);
void CloseForm();
TCHAR* ShowFolderDlg();
bool InsertList(CString suffix);
void MakePlayList();
// Generated message map functions
//{{AFX_MSG(CMediaPlayerDlg)
virtual BOOL OnInitDialog();
afx_msg void OnButtonMedia();
afx_msg void OnButtonMediafile();
afx_msg void OnButtonPicfile();
afx_msg void OnButtonPic();
afx_msg void OnRadioMed();
afx_msg void OnRadioPic();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MEDIAPLAYERDLG_H__17565871_DA2F_4659_9B12_30A8C1121594__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -