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

📄 imagepropertydialog.cpp

📁 主要是应用VC进行傅立叶变换和反变换的程序
💻 CPP
字号:
// ImagePropertyDialog.cpp : implementation file
//

#include "stdafx.h"
#include "bmpDemo.h"
#include "ImagePropertyDialog.h"

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

/////////////////////////////////////////////////////////////////////////////
// ImagePropertyDialog dialog


ImagePropertyDialog::ImagePropertyDialog(CWnd* pParent /*=NULL*/)
	: CDialog(ImagePropertyDialog::IDD, pParent)
{
	//{{AFX_DATA_INIT(ImagePropertyDialog)
	m_ImageWidth = 0;
	m_ImageHeight = 0;
	//}}AFX_DATA_INIT
}


void ImagePropertyDialog::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(ImagePropertyDialog)
	DDX_Text(pDX, IDC_EDIT1, m_ImageWidth);
	DDV_MinMaxInt(pDX, m_ImageWidth, 0, 65536);
	DDX_Text(pDX, IDC_EDIT2, m_ImageHeight);
	DDV_MinMaxInt(pDX, m_ImageHeight, 0, 65536);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(ImagePropertyDialog, CDialog)
	//{{AFX_MSG_MAP(ImagePropertyDialog)
	ON_WM_PAINT()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// ImagePropertyDialog message handlers

void ImagePropertyDialog::OnPaint() 
{
	CPaintDC dc(this); // device context for painting
	
//	GetDlgItem(IDC_EDIT1)->EnableWindow(FALSE);
//	GetDlgItem(IDC_EDIT2)->EnableWindow(FALSE);
	// TODO: Add your message handler code here
	
	// Do not call CDialog::OnPaint() for painting messages
}

⌨️ 快捷键说明

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