📄 mainfrm.h
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__5B02AB8F_68C1_4F99_A8C7_D0BB1E582A2E__INCLUDED_)
#define AFX_MAINFRM_H__5B02AB8F_68C1_4F99_A8C7_D0BB1E582A2E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "TempBar.h"
#include "UnpressCtrl.h"
#include "StatusPro.h"
#include "Dealiase.h"
class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// Attributes
public:
CString * mFileName; //////纪录打开的多个文件名
CFileDialog *m_FileDialog; //////用来打开速度文件进行退模糊
int m_nRange; //////记录打开的文件数目
CDealiase m_Dealiase; ////进行推模糊处理
CString m_lpMsg; /////显示消息
CFileDialog *m_DisFileDlg;
CString m_pFileName;
CString m_pQDFileName;
int flag; ///区别强度场和速度场
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
HBITMAP Copybitmap(LPRECT lprect);
int Tofile(HBITMAP hbitmap , LPCSTR lpfilename);
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // control bar embedded members
CStatusPro m_statusBar;
CToolBar m_wndToolBar;
CTempBar m_wndTempBar;
BOOL m_bFang;
// Generated message map functions
protected:
CDialogBar m_wndMyDialogBar;
CUnpressCtrl m_pRead;
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnButtonFang();
afx_msg void OnUpdateButtonFang(CCmdUI* pCmdUI);
//}}AFX_MSG
afx_msg void OnSelChange();
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H__5B02AB8F_68C1_4F99_A8C7_D0BB1E582A2E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -