📄 godlg.cpp
字号:
/*
///////////////////////////////////////////////////////////////////////////////
// //
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -