MainFrame1.cpp
上传用户:aqingfeng
上传日期:2014-03-25
资源大小:1839k
文件大小:2k
- // MainFrame1.cpp : implementation file
- //
- #include "stdafx.h"
- #include "小波变换.h"
- #include "MainFrame1.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CMainFrame1
- IMPLEMENT_DYNCREATE(CMainFrame1, CMiniFrameWnd)
- BEGIN_MESSAGE_MAP(CMainFrame1, CMiniFrameWnd)
- //{{AFX_MSG_MAP(CMainFrame1)
- ON_WM_CREATE()
- // NOTE - the ClassWizard will add and remove mapping macros here.
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- static UINT indicators[] =
- {
- ID_SEPARATOR, // status line indicator
- ID_INDICATOR_CAPS,
- ID_INDICATOR_NUM,
- ID_INDICATOR_SCRL,
- };
- /////////////////////////////////////////////////////////////////////////////
- // CMainFrame construction/destruction
- CMainFrame1::CMainFrame1()
- {
- // TODO: add member initialization code here
-
- }
- CMainFrame1::~CMainFrame1()
- {
- }
- int CMainFrame1::OnCreate(LPCREATESTRUCT lpCreateStruct)
- {
- if (CMDIFrameWnd::OnCreate(lpCreateStruct) == -1)
- return -1;
- return 0;
- }
- BOOL CMainFrame1::PreCreateWindow(CREATESTRUCT& cs)
- {
- // TODO: Modify the Window class or styles here by modifying
- // the CREATESTRUCT cs
- cs.style = WS_OVERLAPPED | WS_CAPTION | FWS_ADDTOTITLE
- | WS_SYSMENU | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_MAXIMIZE;
- return CMDIFrameWnd::PreCreateWindow(cs);
- }
- /////////////////////////////////////////////////////////////////////////////
- // CMainFrame diagnostics
- #ifdef _DEBUG
- void CMainFrame1::AssertValid() const
- {
- CMDIFrameWnd::AssertValid();
- }
- void CMainFrame1::Dump(CDumpContext& dc) const
- {
- CMDIFrameWnd::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CMainFrame1 message handlers