avimcidemodlg.h

来自「VC++6开发指南的源代码第24章-第25章」· C头文件 代码 · 共 66 行

H
66
字号
// AVIMCIDemoDlg.h : header file
//

#if !defined(AFX_AVIMCIDEMODLG_H__C56803F9_2A1C_46CC_AEDF_3610794AA43F__INCLUDED_)
#define AFX_AVIMCIDEMODLG_H__C56803F9_2A1C_46CC_AEDF_3610794AA43F__INCLUDED_

#include "MCIAviPlay.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CAVIMCIDemoDlg dialog

class CAVIMCIDemoDlg : public CDialog
{
// Construction
public:
	CAVIMCIDemoDlg(CWnd* pParent = NULL);	// standard constructor
	CMCIAviPlay m_avi;//CMCIAviPlay类对象
	BOOL m_bOpen;//打开标记
	BOOL m_bSound;
	BOOL m_bLoop;//循环标记
	BOOL m_bFullScreen;//全屏标记

// Dialog Data
	//{{AFX_DATA(CAVIMCIDemoDlg)
	enum { IDD = IDD_AVIMCIDEMO_DIALOG };
	CString	m_strfile;
	CString	m_strspeed;
	CString	m_strstatus;
	CString	m_strframenum;
	CString	m_framesize;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CAVIMCIDemoDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnBackavi();
	afx_msg void OnForwardavi();
	afx_msg void OnOpenavi();
	afx_msg void OnPauseavi();
	afx_msg void OnPlayavi();
	afx_msg void OnStopavi();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_AVIMCIDEMODLG_H__C56803F9_2A1C_46CC_AEDF_3610794AA43F__INCLUDED_)

⌨️ 快捷键说明

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