BCGSoft > Products > Product feature tour

Product feature tour

Context | First | Prev | Next | Last
Fully implemented BCGControlBar Pro (MFC)
Not available BCGSuite (MFC)
Not available BCGControlBar (Microsoft .NET)

Tabbed Views

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.
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;
}
Prev  Next