multiviewsplitterwnd.h

来自「CodezBank is just a small application th」· C头文件 代码 · 共 46 行

H
46
字号
////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2008  
// 
// The following code is supplied "as-is" and 
// is given without warranty of any kind. 
// It may be freely distributed and used. 
// The user holds author blameless from any complications or 
// problems that may arise from the use of this code.
// 
////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////////////
//  $Workfile: $   created: 04/05/2008 12:39
////////////////////////////////////////////////////////////////////////////////
//  $Revision: $  $Modtime: $
////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////////////
// Author: steveb
//
// History:
//
////////////////////////////////////////////////////////////////////////////////
#pragma once

namespace Utils{

class CMultiViewSplitterWnd : public CSplitterWnd
{
	DECLARE_DYNAMIC(CMultiViewSplitterWnd)

public:
	CMultiViewSplitterWnd();
	virtual ~CMultiViewSplitterWnd();
   CView* AddView(int nRow, int nCol, CRuntimeClass* pViewClass, LPCTSTR lpID);
   CView* ReplaceView(int nRow, int nCol, CView* pNewView);
   void SwitchToView(int row, int col, LPCTSTR lpID = NULL);

protected:
   CMapStringToPtr m_mapViews;

	DECLARE_MESSAGE_MAP()
};

};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?