Dialogs with Expandable Areas

Fully implemented BCGControlBar Pro (MFC)

Fully implemented BCGSuite (MFC)

Not available BCGControlBar for .NET

The expandable area contains some additional controls that are initially hidden and appear only when the user clicks the "Expand" button located in the dialog bottom. The framework resizes the dialog window according to the expandable area height.

To add this feature, simply create a new checkbox specifying the start of the expandable area (this checkbox will be automatically converted to an "Expand/Collapse" button) and call the "CBCGPDialog::EnableExpand" method.

Important: You cannot use this feature along with resizable dialogs or property sheets.

Dialogs with Expandable Areas

Sample code:

dlg.EnableExpand(IDC_SHOW_MORE, _T("&Show more info"), _T("&Hide details"));
dlg.Expand(FALSE);