Tabbed Views

Fully implemented BCGControlBar Pro (MFC)

Not available BCGSuite (MFC)

Not available BCGControlBar for .NET

CBCGPTabView provides a simple and efficient way to create different views inside a single frame (either SDI or MDI). All views are connected to the same document, so a developer can provide end users with different types of data visualization.

MDI application with tabbed views:

MDI application with tabbed views:

Sample code:

int CTabbedViewView::OnCreate(LPCREATESTRUCT lpCreateStruct) 
{
	if (CBCGPTabView::OnCreate(lpCreateStruct) == -1)
		return -1;
	
	AddView (RUNTIME_CLASS (CView1), _T("Simple"), 100);
	AddView (RUNTIME_CLASS (CView2), _T("List"), 101);
	AddView (RUNTIME_CLASS (CView3), _T("Form"), 102);
	AddView (RUNTIME_CLASS (CView4), _T("ScrollView"), 102);

	return 0;
}