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

📄 newimagesize.cpp

📁 主要介绍vc++6.0的编程过程
💻 CPP
字号:
// NewImageSize.cpp : implementation file
//

#include "stdafx.h"
#include "ImageView.h"
#include "NewImageSize.h"

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

/////////////////////////////////////////////////////////////////////////////
// CNewImageSize dialog


CNewImageSize::CNewImageSize(CWnd* pParent /*=NULL*/)
	: CDialog(CNewImageSize::IDD, pParent)
{
	//{{AFX_DATA_INIT(CNewImageSize)
	m_nWidth = 0;
	m_nHeight = 0;
	m_CurrentSize = _T("");
	//}}AFX_DATA_INIT
}


void CNewImageSize::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CNewImageSize)
	DDX_Text(pDX, IDC_EDIT1, m_nWidth);
	DDV_MinMaxInt(pDX, m_nWidth, 1, 2500);
	DDX_Text(pDX, IDC_EDIT2, m_nHeight);
	DDV_MinMaxInt(pDX, m_nHeight, 1, 2500);
	DDX_Text(pDX, IDC_CURRENTSIZE, m_CurrentSize);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CNewImageSize message handlers

⌨️ 快捷键说明

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