| 1 | /* |
| 2 | * Descent 3 |
| 3 | * Copyright (C) 2024 Parallax Software |
| 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation, either version 3 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | // IpFrame.h : interface of the CInPlaceFrame class |
| 20 | // |
| 21 | |
| 22 | #if !defined(AFX_IPFRAME_H__949F57DE_189E_11D1_BD9B_00A0C96ED595__INCLUDED_) |
| 23 | #define AFX_IPFRAME_H__949F57DE_189E_11D1_BD9B_00A0C96ED595__INCLUDED_ |
| 24 | |
| 25 | #if _MSC_VER >= 1000 |
| 26 | #pragma once |
| 27 | #endif // _MSC_VER >= 1000 |
| 28 | |
| 29 | class CInPlaceFrame : public COleIPFrameWnd { |
| 30 | DECLARE_DYNCREATE(CInPlaceFrame) |
| 31 | public: |
| 32 | CInPlaceFrame(); |
| 33 | |
| 34 | // Attributes |
| 35 | public: |
| 36 | // Operations |
| 37 | public: |
| 38 | // Overrides |
| 39 | // ClassWizard generated virtual function overrides |
| 40 | //{{AFX_VIRTUAL(CInPlaceFrame) |
| 41 | public: |
| 42 | virtual BOOL OnCreateControlBars(CFrameWnd *pWndFrame, CFrameWnd *pWndDoc); |
| 43 | virtual BOOL PreCreateWindow(CREATESTRUCT &cs); |
| 44 | //}}AFX_VIRTUAL |
| 45 | |
| 46 | // Implementation |
| 47 | public: |
| 48 | virtual ~CInPlaceFrame(); |
| 49 | #ifdef _DEBUG |
| 50 | virtual void AssertValid() const; |
| 51 | virtual void Dump(CDumpContext &dc) const; |
| 52 | #endif |
| 53 | |
| 54 | protected: |
| 55 | CToolBar m_wndToolBar; |
| 56 | COleDropTarget m_dropTarget; |
| 57 | COleResizeBar m_wndResizeBar; |
| 58 | |
| 59 | // Generated message map functions |
| 60 | protected: |
| 61 | //{{AFX_MSG(CInPlaceFrame) |
| 62 | afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); |
| 63 | // NOTE - the ClassWizard will add and remove member functions here. |
| 64 | // DO NOT EDIT what you see in these blocks of generated code! |
| 65 | //}}AFX_MSG |
| 66 | DECLARE_MESSAGE_MAP() |
| 67 | }; |
| 68 | |
| 69 | ///////////////////////////////////////////////////////////////////////////// |
| 70 | |
| 71 | //{{AFX_INSERT_LOCATION}} |
| 72 | // Microsoft Developer Studio will insert additional declarations immediately before the previous line. |
| 73 | |
| 74 | #endif // !defined(AFX_IPFRAME_H__949F57DE_189E_11D1_BD9B_00A0C96ED595__INCLUDED_) |