-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCAvroView.h
59 lines (46 loc) · 1.5 KB
/
CAvroView.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
#pragma once
#include "ViewTreeAvro.h"
#include "CDialogAvroProperty.h"
class CClassToolBar : public CMFCToolBar
{
virtual void OnUpdateCmdUI(CFrameWnd* /*pTarget*/, BOOL bDisableIfNoHndler)
{
CMFCToolBar::OnUpdateCmdUI((CFrameWnd*)GetOwner(), bDisableIfNoHndler);
}
virtual BOOL AllowShowOnList() const { return FALSE; }
};
class CAvroView : public CDockablePane
{
public:
CAvroView() noexcept;
virtual ~CAvroView();
void AdjustLayout();
void OnChangeVisualStyle();
public:
CClassToolBar m_wndToolBar;
CViewTreeAvro m_wndAvroTreeView;
CImageList m_classViewImages;
CDialogAvroProperty m_dlgAvroProperty;
UINT m_nCurrSort;
void FillClassView();
// オーバーライド
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
afx_msg void OnClassAddMemberFunction();
afx_msg void OnClassAddMemberVariable();
afx_msg void OnClassDefinition();
afx_msg void OnClassProperties();
afx_msg void OnFileOpenAvroToolBar();
afx_msg void OnPaint();
afx_msg void OnSetFocus(CWnd* pOldWnd);
afx_msg LRESULT OnChangeActiveTab(WPARAM, LPARAM);
afx_msg void OnSort(UINT id);
afx_msg void OnUpdateSort(CCmdUI* pCmdUI);
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnPopupProperty();
};