-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathMainFrm.h
95 lines (84 loc) · 2.54 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM__H)
#define AFX_MAINFRM__H
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "buttonbar.h"
#include "sampledoc.h"
#include "CoolTabCtrl.h"
#include"viewfundlg.h"
#include "Log.h"
#include "commanddlg.h"
class CMainFrame : public CMDIFrameWnd, public I_E2COUT
{
DECLARE_DYNAMIC(CMainFrame)
public:
CMainFrame();
CCoolTabCtrl m_TabCtrl;
CTreeCtrl m_wndTree;
CEdit m_wndEdit;
CCoolBar m_wndMyBar1;
CCoolBar m_wndMyBar2;
CCoolBar m_wndLogBar3;
CViewFunDlg dlg;
CCommandDlg m_commandDlg;
CCommandDlg m_log;
CListCtrl m_listFun;
//CLog *pCLog;
// Attributes
public:
// Operations
public:
// CChildFormA m_wndChildOGLView1;
// CChildFormA m_wndChildOGLView2;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
virtual void __stdcall prt_log(PCSTR str);
void ClearFun();
void ShowFun();
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // control bar embedded members
CStatusBar m_wndStatusBar;
CToolBar m_wndToolBar;
//CButtonBar m_buttonbar;
CString m_strInfo;
// CCoolBar m_wndMyBar1;///我们将它作为左边的窗口
// CCoolBar m_wndMyBar2;///停靠在下方的窗口
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnOptim() ;
afx_msg void OnViewForm1();
afx_msg void OnViewForm2();
afx_msg void OnShowleftbar();
afx_msg void OnUpdateShowleftbar(CCmdUI* pCmdUI);
afx_msg void OnViewFun();
afx_msg void OnUpdateViewFun(CCmdUI* pCmdUI);
afx_msg void OnViewCommand();
afx_msg void OnUpdateViewCommand(CCmdUI* pCmdUI);
afx_msg void OnUpdateLog2(CCmdUI* pCmdUI);
afx_msg void OnCommandLog2();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnTest();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM__H)