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

📄 videoctrlbar.h

📁 刚上传内容的相关CODEC不能单独上传。于是
💻 H
字号:
#if !defined(AFX_VIDEOCTRLBAR_H__D495A369_ADB4_4E70_A135_25306C112767__INCLUDED_)
#define AFX_VIDEOCTRLBAR_H__D495A369_ADB4_4E70_A135_25306C112767__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// VideoCtrlBar.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CVideoCtrlBar dialog
#include "MySlider.h"

#define	IDM_SCROLL			WM_USER+1
#define	IDM_SCROLL_MOVE		WM_USER+2
#define IDM_CHANGE_SLIDER	WM_USER+3

class CVideoCtrlBar : public CDialogBar
{
// Construction
public:
	CVideoCtrlBar();
	~CVideoCtrlBar();
	
	CMySlider	m_Slider;

	void	Init(int min, int max, CView* pView);
	void	SetRange(int min, int max);
	void	SetPos(int n);
	void	SetSelect(int n);
	int		GetPos();
	void	EnableSlider(BOOL bEnable);
	void	CloseVideo();

	int		m_nTotal;
	int		m_nCurr;
	CView*	m_pView;

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CVideoCtrlBar)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnPaint();
	afx_msg void OnSize(UINT nType, int cx, int cy);	
	afx_msg void OnScroll(WPARAM wParam,LPARAM lParam);
	afx_msg void OnScrollMove(WPARAM wParam,LPARAM lParam);
	//}}AFX_MSG	
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_VIDEOCTRLBAR_H__D495A369_ADB4_4E70_A135_25306C112767__INCLUDED_)

⌨️ 快捷键说明

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