📄 musicdlg.h
字号:
#if !defined(AFX_MUSICDLG_H__BC4C3AC7_7346_4761_AE2B_4B827A8A8E4C__INCLUDED_)
#define AFX_MUSICDLG_H__BC4C3AC7_7346_4761_AE2B_4B827A8A8E4C__INCLUDED_
#include "mmsystem.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MusicDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMusicDlg dialog
class CMusicDlg : public CDialog
{
// Construction
CBrush brush;
CStringList fileList;
POSITION pos;
CString filename;
void ClipWindow();
DWORD deviceId;
DWORD GetPlayLength();
bool bPlay;
DWORD playLength;
public:
CMusicDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMusicDlg)
enum { IDD = IDD_MUSICDLG_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMusicDlg)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
char pointchar;
// Generated message map functions
//{{AFX_MSG(CMusicDlg)
virtual void OnOK();
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
afx_msg void OnRButtonDblClk(UINT nFlags, CPoint point);
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MUSICDLG_H__BC4C3AC7_7346_4761_AE2B_4B827A8A8E4C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -