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

📄 editdialog.cpp

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

#include "stdafx.h"
#include "bmpDemo.h"
#include "EditDialog.h"

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

/////////////////////////////////////////////////////////////////////////////
// EditDialog dialog


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


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


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

/////////////////////////////////////////////////////////////////////////////
// EditDialog message handlers

void EditDialog::OnPaint() 
{
	CPaintDC dc(this); // device context for painting
	
	// TODO: Add your message handler code here
	GetDlgItem(IDC_RADIO1)->SetIcon((HICON)IDI_ArrowICON,TRUE);

	// Do not call CDialog::OnPaint() for painting messages
}

BOOL EditDialog::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	CButton *pButton=(CButton*)GetDlgItem(IDC_RADIO1);
	pButton->SetIcon(AfxGetApp()->LoadIcon(IDI_ArrowICON));
	pButton->SetCheck(TRUE);
	pButton=(CButton*)GetDlgItem(IDC_RADIO2);
	pButton->SetIcon(AfxGetApp()->LoadIcon(IDI_TSelectICON));
	pButton=(CButton*)GetDlgItem(IDC_RADIO3);
	pButton->SetIcon(AfxGetApp()->LoadIcon(IDI_ESelectICON));
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

⌨️ 快捷键说明

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