Daubechiesdlg.cpp
上传用户:aqingfeng
上传日期:2014-03-25
资源大小:1839k
文件大小:1k
- // Daubechiesdlg.cpp : implementation file
- //
- #include "stdafx.h"
- #include "小波变换.h"
- #include "Daubechiesdlg.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CDaubechiesdlg dialog
- CDaubechiesdlg::CDaubechiesdlg(CWnd* pParent /*=NULL*/)
- : CDialog(CDaubechiesdlg::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CDaubechiesdlg)
- m_nlength = 4;
- //}}AFX_DATA_INIT
- }
- void CDaubechiesdlg::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CDaubechiesdlg)
- DDX_Control(pDX, IDC_SPINLENGTH, m_spinlength);
- DDX_Text(pDX, IDC_NLENGTH, m_nlength);
- DDV_MinMaxUInt(pDX, m_nlength, 1, 10);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CDaubechiesdlg, CDialog)
- //{{AFX_MSG_MAP(CDaubechiesdlg)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CDaubechiesdlg message handlers
- BOOL CDaubechiesdlg::OnInitDialog()
- {
- CDialog::OnInitDialog();
-
- // TODO: Add extra initialization here
- m_spinlength.SetRange(1,10);
-
- return TRUE; // return TRUE unless you set the focus to a control
- // EXCEPTION: OCX Property Pages should return FALSE
- }