⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nativedlg.h

📁 TM8000硬盘录像机客户端编程文档和Demo源代码
💻 H
字号:
// NativeDlg.h : header file
//

#if !defined(AFX_NATIVEDLG_H__6D5A2319_680C_4113_B7ED_DA05058AFC64__INCLUDED_)
#define AFX_NATIVEDLG_H__6D5A2319_680C_4113_B7ED_DA05058AFC64__INCLUDED_

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

#include "FECFileDialog.h"
#include <afxcoll.h>
#include "Playback.h"
#include <afxtempl.h>
#define	WM_PLAYNOTIFY	WM_USER + 300

/////////////////////////////////////////////////////////////////////////////
// CNativeDlg dialog
typedef CList<CRect, CRect> CListRect ;
class CNativeDlg : public CDialog
{
// Construction
public:
	CListRect listRect;
	BOOL IsMyFile(CString str, int &hour, int &minute);
	void DisableButton();
	void EnableButton();
	BOOL	bPlay ;
	BOOL	bFullWnd ;
	CPlayback		m_Display;
	DWORD			m_EndTime;
	CStringList		m_strList;
	CString			m_CurPath;

	CNativeDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CNativeDlg)
	enum { IDD = IDD_NATIVEPLAYBACK_DLG };
	CButton	m_Btn_Loop;
	CSliderCtrl	m_Slider;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CNativeDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	virtual BOOL DestroyWindow();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HANDLE m_PlayHandle;
	// Generated message map functions
	//{{AFX_MSG(CNativeDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonPlay();
	afx_msg void OnClose();
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnButtonPause();
	afx_msg void OnButtonStop();
	afx_msg void OnButtonFastForward();
	afx_msg void OnButtonSingleFrameBackward();
	afx_msg void OnButtonSkipBackward();
	afx_msg void OnButtonSingleFrameForward();
	afx_msg void OnButtonOpenfile();
	afx_msg void OnCheckLoop();
	afx_msg void OnButtonSingleFrameCapture();
	afx_msg void OnCaptureChanged(CWnd *pWnd);
	afx_msg void OnReleasedcaptureSliderPlaypos(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	afx_msg LRESULT PlayNotify(WPARAM wParam, LPARAM lParam);
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_NATIVEDLG_H__6D5A2319_680C_4113_B7ED_DA05058AFC64__INCLUDED_)

⌨️ 快捷键说明

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