2025-11-27 16:46:48 +09:00

75 lines
1.9 KiB
C++

// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__14C1632C_675D_11D2_A753_525400DAF3CE__INCLUDED_)
#define AFX_MAINFRM_H__14C1632C_675D_11D2_A753_525400DAF3CE__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "OXBitmapMenuOrganizer.h"
#include "OXCoolToolBar.h"
#include "OXMenuBar.h"
#include "OXTabView.h"
class CMainFrame : public COXMenuBarFrame<CMainFrameWindow,CDockBar>
{
DECLARE_DYNCREATE(CMainFrame)
public:
CMainFrame();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // control bar embedded members
CStatusBar m_wndStatusBar;
COXCoolToolBar m_wndToolBar;
// to show bitmaps in menu
// just to make the framework look pretty
COXBitmapMenuOrganizer Organizer;
#ifndef _MDI_INTERFACE
COXTabViewContainer m_TabViewContainer;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}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__14C1632C_675D_11D2_A753_525400DAF3CE__INCLUDED_)