godlg.cpp

来自「ZPAV (H265) PC(X86) demo ZPAV (H26」· C++ 代码 · 共 66 行

CPP
66
字号

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

// GoDlg.cpp : implementation file
//

#include "stdafx.h"
#include "H265V.h"
#include "GoDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CGoDlg dialog


CGoDlg::CGoDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CGoDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CGoDlg)
	m_iEditFrames = 1;
	m_iEditTotalFrames = 1;
	//}}AFX_DATA_INIT
}


void CGoDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CGoDlg)
	DDX_Text(pDX, IDC_EDIT_FRAMES, m_iEditFrames);
	DDV_MinMaxUInt(pDX, m_iEditFrames, 1, 1000000);
	DDX_Text(pDX, IDC_EDIT_TOTAL_FRAMES, m_iEditTotalFrames);
	DDV_MinMaxUInt(pDX, m_iEditTotalFrames, 1, 1000000);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CGoDlg, CDialog)
	//{{AFX_MSG_MAP(CGoDlg)
	ON_EN_CHANGE(IDC_EDIT_FRAMES, OnChangeEditFrames)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CGoDlg message handlers

void CGoDlg::OnChangeEditFrames() 
{

	UpdateData(TRUE);  
	if( m_iEditFrames > m_iEditTotalFrames ) m_iEditFrames = m_iEditTotalFrames ;
	UpdateData(FALSE); 	
	
}

⌨️ 快捷键说明

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