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

📄 videocodecmanage_dlg.h

📁 ZPAV (H265) PC(X86) demo ZPAV (H265) 是 音视频 压缩解压 协议
💻 H
字号:

/*
///////////////////////////////////////////////////////////////////////////////
//                                                                           //
//   Copyright (C) 2006-2008  Beijing,  pengzhen (pengzhenxp@yahoo.com.cn)   //
//                                                                           //
///////////////////////////////////////////////////////////////////////////////
*/

#if !defined(AFX_VIDEOCODECMANAGE_DLG_H__5B8D007F_A5C4_4A58_B266_7803A3F9245C__INCLUDED_)
#define AFX_VIDEOCODECMANAGE_DLG_H__5B8D007F_A5C4_4A58_B266_7803A3F9245C__INCLUDED_

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

#include "managelistctrl.h"

#define VideoCodecManage_Items    4 /*(sizeof(m_pVideoCodecName)/sizeof(CString))*/
#define VideoCodecManage_SubItems 10 /*(sizeof(m_pColumnTitle)/sizeof(CString))*/

#include "VideoCodecManage_Dlg1.h"

/////////////////////////////////////////////////////////////////////////////
// CVideoCodecManage_Dlg dialog

class CVideoCodecManage_Dlg : public CPropertyPage
{
	DECLARE_DYNCREATE(CVideoCodecManage_Dlg)

// Construction
public:
	CVideoCodecManage_Dlg( UINT nIDCaption = 0  );
	~CVideoCodecManage_Dlg();

public :

	void ListInsertString(CManageListCtrl *lpList,int nItem );

	void AddStringList(CManageListCtrl *lpList );

public :

	int m_iItem , m_iSubItem , m_iItemStep ; 
	CString m_pCurItemText ; 

	static CString m_pColumnTitle[];
	static CString m_pColumnTitleText[];
	static CString m_pVideoCodecName[]; 

	static WORD m_iItemValue[VideoCodecManage_Items+1][VideoCodecManage_SubItems] ; 

	void DefaultItemValue() ;
	void LoadItemValue( BOOL iDefault );

	CString GetCurSubItemText( int nSubItem , int iValue ) ;
	void SetItemControlContext() ;

	void SetVideoCodec( void* lp_dvp_ctx0 ) ;

// Dialog Data
	//{{AFX_DATA(CVideoCodecManage_Dlg)
	enum { IDD = IDD_VIDEO_CODEC_MANAGE };
	CManageListCtrl	m_pListCtrl;
	CStatic	        m_pNameCtrl;
	CStatic	        m_pItemCtrl;
	CEdit	        m_pEditItem;
	CSliderCtrl	    m_pSliderItem;
	CButton	        m_pButtonDefault;
	CButton	        m_pButtonAll;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CVideoCodecManage_Dlg)
	public:
	virtual BOOL OnSetActive();
	protected:
    virtual BOOL OnInitDialog();
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CVideoCodecManage_Dlg)
	afx_msg void OnClickListManageVideoCodec(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnButtonDefault();
	afx_msg void OnButtonAll();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

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

#endif // !defined(AFX_VIDEOCODECMANAGE_DLG_H__5B8D007F_A5C4_4A58_B266_7803A3F9245C__INCLUDED_)

⌨️ 快捷键说明

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