-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMainFrm.h
86 lines (80 loc) · 2.48 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
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#include "overalldataview.h"
#include "ruler.h"
#include "viewtab.h"
#include "compasswidget.h"
class COnStationView;
class CMainFrame : public CFrameWnd
{
DECLARE_DYNCREATE(CMainFrame)
private:
BOOL m_bCreated;
BOOL m_bFullScreen;
WINDOWPLACEMENT m_wplNormal;
public:
CMainFrame();
BOOL IsFullScreen() {return m_bFullScreen;}
// Attributes
public:
void SetActiveViewTab(VIEWTYPE vt);
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
void SetPaneText(int iPane,LPCSTR szText);
public: //Let the child frames play with these guys
CStatusBar m_wndStatusBar;
CToolBar m_wndToolBar;
CToolBar m_wndToolBarFullScreen;
CRuler m_wndRuler;
CViewTab m_viewTab;
COverallDataView m_dataView;
void ViewFullScreen(COnStationView * pView);
//used when going into print preview mode
void SetPrintPreview(BOOL bEnter);
// Generated message map functions
protected:
afx_msg void OnInitMenu(CMenu* pMenu);
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnClose();
afx_msg void OnEditCopy();
afx_msg void OnEditCut();
afx_msg void OnHelp();
afx_msg void OnEditDelete();
afx_msg void OnEditAddfolder();
afx_msg void OnEditAddsurvey();
afx_msg void OnEditAddfixedpoint();
afx_msg void OnEditPaste();
afx_msg void OnEditProperties();
afx_msg void OnEditFindssurvey();
afx_msg void OnEditEndquery();
afx_msg void OnEditEdit();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
afx_msg void OnViewPreferences();
afx_msg BOOL OnQueryNewPalette();
afx_msg void OnPaletteChanged(CWnd* pFocusWnd);
afx_msg void OnUpdateEditEdit(CCmdUI* pCmdUI);
afx_msg void OnUpdateEditPaste(CCmdUI* pCmdUI);
afx_msg void OnUpdateEditCopy(CCmdUI* pCmdUI);
afx_msg void OnUpdateEditDelete(CCmdUI* pCmdUI);
afx_msg void OnDebugStationlinks();
afx_msg void OnDrawingFont();
afx_msg void OnErrorsloopsLoopclosureoptions();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////