Files
envi-code/SourceCode/Code2026/tg_shs/shs_kerncmd/SetVideoDlg.cpp
T
2026-09-28 15:28:50 +08:00

48 lines
975 B
C++

// SetVideoDlg.cpp : implementation file
//
#include "stdafx.h"
#include "SetVideoDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSetVideoDlg dialog
int CSetVideoDlg::m_nRate = 25;
CSetVideoDlg::CSetVideoDlg(CWnd* pParent /*=NULL*/)
: GlwCAcUiDialog(CSetVideoDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CSetVideoDlg)
//}}AFX_DATA_INIT
}
void CSetVideoDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSetVideoDlg)
DDX_Text(pDX, IDC_EDIT_RATE, m_nRate);
DDV_MinMaxInt(pDX, m_nRate, 5, 200);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSetVideoDlg, GlwCAcUiDialog)
//{{AFX_MSG_MAP(CSetVideoDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSetVideoDlg message handlers
void CSetVideoDlg::OnOK()
{
CDialog::OnOK();
}