⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 multisplitterview.h

📁 开发环境为VC++ 的数据库管理系统
💻 H
字号:
// MultiSplitterView.h: interface for the CMultiSplitterView class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MULTISPLITTERVIEW_H__9FCE12F5_0445_4619_89F9_54235E58F2A2__INCLUDED_)
#define AFX_MULTISPLITTERVIEW_H__9FCE12F5_0445_4619_89F9_54235E58F2A2__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <map>
using namespace std;

/*****************************************************************************
*
* Class   : CMultiSplitterView
* Author  : Dan Clark  (www.dancclark.com)
* Purpose : Can switch X views in a splitter wnd
* Date    : 2/6/04
*
* Notes   :
******************************************************************************/
class CMultiSplitterView  : public  CSplitterWnd
{
public:
	CWnd * GetViewPtr(UINT id, int paneRow, int paneCol);
	bool SwitchView(UINT id, int paneRow, int paneCol);
	bool AddSwitchableView(UINT id , CRuntimeClass*, CCreateContext* pContext,
					CRect & size, bool isFirstView = false, UINT altId= 0);
	CMultiSplitterView();
	~CMultiSplitterView();

	map<CWnd *, UINT> views;

};

#endif // !defined(AFX_MULTISPLITTERVIEW_H__9FCE12F5_0445_4619_89F9_54235E58F2A2__INCLUDED_)

⌨️ 快捷键说明

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