-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMainFrm.h
More file actions
executable file
·65 lines (56 loc) · 1.35 KB
/
Copy pathMainFrm.h
File metadata and controls
executable file
·65 lines (56 loc) · 1.35 KB
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
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#ifndef _INCLUDED_MAINFRM_H_
#define _INCLUDED_MAINFRM_H_
#include "cartree.h"
class CMainFrame : public CMDIFrameWnd
{
DECLARE_DYNAMIC(CMainFrame)
public:
CMainFrame();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
virtual BOOL
PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
void
RecalcLayout(BOOL bNotify);
// Implementation
public:
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void
AssertValid() const;
virtual void
Dump(CDumpContext& dc) const;
#endif
void
SetMessageText(LPCSTR str)
{
if (m_wndStatusBar) {
m_wndStatusBar.SetPaneText(ID_SEPARATOR, str, TRUE);
}
}
protected: // control bar embedded members
CStatusBar m_wndStatusBar;
CToolBar m_wndToolBar;
CToolBar m_wndShowBar;
CCarTree m_wndDlgBar;
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int
OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void
OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
#endif