This repository has been archived on 2022-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
Multichannel-Analyzer/MCA/MainFrm.h

56 lines
950 B
C
Raw Normal View History

2022-03-19 20:43:29 +08:00

// MainFrm.h: CMainFrame 类的接口
//
#pragma once
2022-06-02 14:57:51 +08:00
#include "MCADoc.h"
2022-03-19 20:43:29 +08:00
class CMainFrame : public CFrameWnd
{
protected: // 仅从序列化创建
CMainFrame() noexcept;
DECLARE_DYNCREATE(CMainFrame)
// 特性
protected:
CSplitterWnd m_wndSplitter;
CSplitterWnd m_wndSplitter2;
2022-03-19 20:43:29 +08:00
public:
// 操作
public:
// 重写
public:
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
// 实现
public:
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // 控件条嵌入成员
CToolBar m_wndToolBar;
CStatusBar m_wndStatusBar;
// 生成的消息映射函数
protected:
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
DECLARE_MESSAGE_MAP()
public:
2022-06-02 14:57:51 +08:00
CMCADoc* pDoc = nullptr;
afx_msg void OnClose();
void OnLoadToolBarIcon();
CImageList m_imgList;
2022-03-19 20:43:29 +08:00
};