mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
2.3 KiB
85 lines
2.3 KiB
// splitter.h : custom splitter control and frame that contains it
|
|
//
|
|
// This is a part of the Microsoft Foundation Classes C++ library.
|
|
// Copyright (C) 1992-1995 Microsoft Corporation
|
|
// All rights reserved.
|
|
//
|
|
// This source code is only intended as a supplement to the
|
|
// Microsoft Foundation Classes Reference and related
|
|
// electronic documentation provided with the library.
|
|
// See these sources for detailed information regarding the
|
|
// Microsoft Foundation Classes product.
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CSplitterFrame frame with splitter/wiper
|
|
|
|
class CSplitterFrame : public CMDIChildWnd
|
|
{
|
|
DECLARE_DYNCREATE(CSplitterFrame)
|
|
protected:
|
|
CSplitterFrame(); // protected constructor used by dynamic creation
|
|
|
|
// Attributes
|
|
protected:
|
|
CSplitterWnd m_wndSplitter;
|
|
|
|
// Implementation
|
|
public:
|
|
virtual ~CSplitterFrame();
|
|
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CSplitterFrame)
|
|
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
class CQuerySplitterFrame : public CMDIChildWnd
|
|
{
|
|
DECLARE_DYNCREATE(CQuerySplitterFrame)
|
|
protected:
|
|
CQuerySplitterFrame(); // protected constructor used by dynamic creation
|
|
|
|
// Attributes
|
|
protected:
|
|
CSplitterWnd m_wndSplitter;
|
|
|
|
// Implementation
|
|
public:
|
|
virtual ~CQuerySplitterFrame();
|
|
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CSplitterFrame)
|
|
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
class C3WaySplitterFrame : public CMDIChildWnd
|
|
{
|
|
DECLARE_DYNCREATE(C3WaySplitterFrame)
|
|
protected:
|
|
C3WaySplitterFrame(); // protected constructor used by dynamic creation
|
|
|
|
// Attributes
|
|
protected:
|
|
CSplitterWnd m_wndSplitter;
|
|
CSplitterWnd m_wndSplitter2; // embedded in the first
|
|
|
|
// Implementation
|
|
public:
|
|
virtual ~C3WaySplitterFrame();
|
|
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(C3WaySplitterFrame)
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|