-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainFrm.h
65 lines (52 loc) · 1.82 KB
/
MainFrm.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// MainFrm.h : CMainFrame クラスのインターフェイス
//
#pragma once
#include "EntityView.h"
#include "CAvroView.h"
#include "CJsonView.h"
#include "OutputWnd.h"
#include "PropertiesWnd.h"
#include "CDialogApiSubtract.h"
class CMainFrame : public CFrameWndEx
{
protected: // シリアル化からのみ作成します。
CMainFrame() noexcept;
DECLARE_DYNCREATE(CMainFrame)
// 属性
public:
// 操作
public:
// オーバーライド
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual BOOL LoadFrame(UINT nIDResource, DWORD dwDefaultStyle = WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE, CWnd* pParentWnd = nullptr, CCreateContext* pContext = nullptr);
// 実装
public:
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
public: // コントロール バー用メンバー
CMFCMenuBar m_wndMenuBar;
CMFCToolBar m_wndToolBar;
CMFCStatusBar m_wndStatusBar;
COutputWnd m_wndOutput;
CPropertiesWnd m_wndProperties;
CEntityView m_wndEntityView; // satTreeView
CAvroView m_wndAvroView; // avroTreeView
CJsonView m_wndJsonView; // jsonTreeView
CDialogApiSubtract m_dlgApiSubtract; // 分割Dialog
// 生成された、メッセージ割り当て関数
protected:
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnViewCustomize();
afx_msg LRESULT OnToolbarCreateNew(WPARAM wp, LPARAM lp);
afx_msg void OnApplicationLook(UINT id);
afx_msg void OnUpdateApplicationLook(CCmdUI* pCmdUI);
afx_msg void OnSettingChange(UINT uFlags, LPCTSTR lpszSection);
DECLARE_MESSAGE_MAP()
BOOL CreateDockingWindows();
void SetDockingWindowIcons(BOOL bHiColorIcons);
};