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

📄 setsnumbox.cpp

📁 OK视频采集卡VC源代码
💻 CPP
字号:
// SetSNumBox.cpp : implementation file
//

#include "stdafx.h"
#include "okmfc.h"
#include "SetSNumBox.h"

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

extern	int iNum;

/////////////////////////////////////////////////////////////////////////////
// CSetSNumBox dialog


CSetSNumBox::CSetSNumBox(CWnd* pParent /*=NULL*/)
	: CDialog(CSetSNumBox::IDD, pParent)
{
	//{{AFX_DATA_INIT(CSetSNumBox)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CSetSNumBox::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CSetSNumBox)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CSetSNumBox, CDialog)
	//{{AFX_MSG_MAP(CSetSNumBox)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSetSNumBox message handlers

BOOL CSetSNumBox::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here

	SetDlgItemInt(IDC_NUMIMAGE,iNum,FALSE);
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

void CSetSNumBox::OnOK() 
{
	// TODO: Add extra validation here
	
	iNum=GetDlgItemInt(IDC_NUMIMAGE,NULL,FALSE);
	CDialog::OnOK();
}

⌨️ 快捷键说明

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