www.gusucode.com > VC 实现的二维小波变换用于图像去噪、压缩等源码程序 > Symletsdlg.cpp
// Symletsdlg.cpp : implementation file // #include "stdafx.h" #include "小波变换.h" #include "Symletsdlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CSymletsdlg dialog CSymletsdlg::CSymletsdlg(CWnd* pParent /*=NULL*/) : CDialog(CSymletsdlg::IDD, pParent) { //{{AFX_DATA_INIT(CSymletsdlg) m_symlength = 4; //}}AFX_DATA_INIT } void CSymletsdlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CSymletsdlg) DDX_Control(pDX, IDC_SPINLENGTH, m_symspin); DDX_Text(pDX, IDC_SNLENGTH, m_symlength); DDV_MinMaxUInt(pDX, m_symlength, 4, 10); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CSymletsdlg, CDialog) //{{AFX_MSG_MAP(CSymletsdlg) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CSymletsdlg message handlers BOOL CSymletsdlg::OnInitDialog() { CDialog::OnInitDialog(); // TODO: Add extra initialization here m_symspin.SetRange(4,10); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE }