-
Notifications
You must be signed in to change notification settings - Fork 11
/
MainFrm.h
55 lines (48 loc) · 1.79 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
#pragma once
#include "DemoDlg.h"
class CMainFrame : public CFrameWnd,
public TabCtrl::Notify
{
DECLARE_DYNAMIC(CMainFrame)
private: // TabCtrlNotify.
void OnButtonCloseClicked(TabCtrl *ctrl, CRect const *rect, CPoint ptScr) override;
void OnButtonMenuClicked(TabCtrl *ctrl, CRect const *rect, CPoint ptScr) override;
protected: // control bar embedded members
CStatusBar m_wndStatusBar;
CToolBar m_wndToolBar;
//
TabCtrlEx<TabCtrlStyle_VS2003_client_custom1> m_TabCtrl;
CListCtrl m_List1,m_List2,m_List3,m_List4,m_List5;
//
DemoDlg m_DemoDlg;
protected:
DECLARE_MESSAGE_MAP()
BOOL PreCreateWindow(CREATESTRUCT& cs) override;
BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo) override;
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnDestroy();
afx_msg void OnSetFocus(CWnd *pOldWnd);
afx_msg void OnUpdateTestdlg(CCmdUI *pCmdUI);
afx_msg void OnTestdlg();
//
afx_msg void OnUpdateLayoutTop(CCmdUI *pCmdUI);
afx_msg void OnLayoutTop();
afx_msg void OnUpdateLayoutBottom(CCmdUI *pCmdUI);
afx_msg void OnLayoutBottom();
afx_msg void OnUpdateBehaviorScaling(CCmdUI *pCmdUI);
afx_msg void OnBehaviorScaling();
afx_msg void OnUpdateBehaviorScrolling(CCmdUI *pCmdUI);
afx_msg void OnBehaviorScrolling();
afx_msg void OnUpdateEqualsize(CCmdUI *pCmdUI);
afx_msg void OnEqualsize();
afx_msg void OnUpdateTabsRemove(CCmdUI *pCmdUI);
afx_msg void OnTabsRemove();
afx_msg void OnUpdateShowCloseButton(CCmdUI *pCmdUI);
afx_msg void OnShowCloseButton();
afx_msg void OnUpdateShowMenuButton(CCmdUI *pCmdUI);
afx_msg void OnShowMenuButton();
afx_msg void OnUpdateShowScrollButtons(CCmdUI *pCmdUI);
afx_msg void OnShowScrollButtons();
afx_msg void OnUpdateShowClientEdgeBorder(CCmdUI *pCmdUI);
afx_msg void OnShowClientEdgeBorder();
};