exampledlg.h

来自「vc150例源码」· C头文件 代码 · 共 73 行

H
73
字号
// ExampleDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mci.h"
//}}AFX_INCLUDES

#if !defined(AFX_EXAMPLEDLG_H__B66A424F_F8A0_4F10_8BA8_62BAA241790C__INCLUDED_)
#define AFX_EXAMPLEDLG_H__B66A424F_F8A0_4F10_8BA8_62BAA241790C__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CExampleDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CExampleDlg)
	enum { IDD = IDD_EXAMPLE_DIALOG };
	CSliderCtrl	m_Slider;
	CButton	m_PrevButton;
	CButton	m_PlayButton;
	CButton	m_PauseButton;
	CButton	m_OpenButton;
	CButton	m_NextButton;
	CEdit	m_FileName;
	CButton	m_CloseButton;
	Cmci	m_Multimedia;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CExampleDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnOpen();
	afx_msg void OnRadio1();
	afx_msg void OnRadio2();
	afx_msg void OnRadio3();
	afx_msg void OnRadio4();
	afx_msg void OnPlay();
	afx_msg void OnStatusUpdateMmcontrol1();
	afx_msg void OnClose();
	afx_msg void OnNext();
	afx_msg void OnPause();
	afx_msg void OnPrev();
	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_EXAMPLEDLG_H__B66A424F_F8A0_4F10_8BA8_62BAA241790C__INCLUDED_)

⌨️ 快捷键说明

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