Expander control

Fully implemented BCGControlBar Pro (MFC)

Not available BCGSuite (MFC)

Not available BCGControlBar for .NET

The class CBCGPExpanderCtrl implements a container of the vertically stacked collapsible dialogs. You can see all dialogs at the same time or collapse some of them. Each page (group) has its dialog resource and dialog class derived from CDialog.

Expander control

Sample code:

CBCGPExpanderCtrl m_wndExpander;
...
m_wndExpander.CreateOnPlaceHolder(this, IDC_PLACE_HOLDER);

m_wndExpander.AddDialog
    (_T("Group 1"), CPage1Dlg::IDD, 
    RUNTIME_CLASS(CPage1Dlg));
m_wndExpander.AddDialog
    (_T("Group 2"), CPage2Dlg::IDD, 
    RUNTIME_CLASS(CPage2Dlg));
m_wndExpander.AddDialog
    (_T("Group 3"), CPage3Dlg::IDD, 
    RUNTIME_CLASS(CPage3Dlg));