7fd59977 |
1 | // OCC_MainFrame.h: interface for the OCC_MainFrame class. |
2 | // |
3 | ////////////////////////////////////////////////////////////////////// |
4 | |
5 | #if !defined(AFX_OCC_MAINFRAME_H__B7D6F369_38DA_11D7_8611_0060B0EE281E__INCLUDED_) |
6 | #define AFX_OCC_MAINFRAME_H__B7D6F369_38DA_11D7_8611_0060B0EE281E__INCLUDED_ |
7 | |
8 | #if _MSC_VER > 1000 |
9 | #pragma once |
10 | #endif // _MSC_VER > 1000 |
11 | |
5c1f974e |
12 | #include <OCC_App.h> |
7fd59977 |
13 | |
14 | enum OCC_MainFrm{ |
15 | without_AIS_TB, |
16 | with_AIS_TB |
17 | }; |
18 | |
19 | class Standard_EXPORT OCC_MainFrame : public CMDIFrameWnd |
20 | { |
21 | DECLARE_DYNAMIC(OCC_MainFrame) |
22 | public: |
23 | OCC_MainFrame(BOOL withAISToolBar = false); |
24 | virtual ~OCC_MainFrame(); |
25 | |
26 | void SetStatusMessage(const CString & message); |
27 | |
28 | // Operations |
29 | public: |
30 | |
31 | // Overrides |
32 | // ClassWizard generated virtual function overrides |
33 | //{{AFX_VIRTUAL(CCommonMainFrame) |
34 | virtual BOOL PreCreateWindow(CREATESTRUCT& cs); |
35 | //}}AFX_VIRTUAL |
36 | |
37 | |
38 | // Implementation |
39 | |
40 | #ifdef _DEBUG |
41 | virtual void AssertValid() const; |
42 | virtual void Dump(CDumpContext& dc) const; |
43 | #endif |
44 | |
45 | protected: |
46 | void DockControlBarLeftOf(CToolBar* Bar,CToolBar* LeftOf); |
47 | |
48 | |
49 | |
50 | // Attributes |
51 | protected: // control bar embedded members |
52 | CStatusBar m_wndStatusBar; |
53 | CToolBar m_wndToolBar; |
54 | CToolBar* m_AISToolBar; |
55 | BOOL m_withAISToolBar; |
56 | |
57 | |
58 | // Generated message map functions |
59 | protected: |
60 | //{{AFX_MSG(OCC_MainFrame) |
61 | afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); |
62 | // NOTE - the ClassWizard will add and remove member functions here. |
63 | // DO NOT EDIT what you see in these blocks of generated code! |
64 | //}}AFX_MSG |
65 | DECLARE_MESSAGE_MAP() |
66 | }; |
67 | |
68 | #endif // !defined(AFX_OCC_MAINFRAME_H__B7D6F369_38DA_11D7_8611_0060B0EE281E__INCLUDED_) |