BCGControlBar Pro for MFC
void CBCGPTaskDialog::SetExpansionArea ( const CString &  strExpandedInformation,
const CString &  strCollapsedLabel = CString(),
const CString &  strExpandedLabel = CString() 
)

Updates the expansion area of the CBCGPTaskDialog.

The expansion area of the CBCGPTaskDialog class enables you to provide additional information to the user. The expansion area is in the main part of the CBCGPTaskDialog, located immediately underneath the title and content string.

When the CBCGPTaskDialog is first displayed, it does not show the expanded information and puts strCollapsedLabel next to the expansion button. When the user clicks the expansion button, the CBCGPTaskDialog displays strExpandedInformation and changes the label to strExpandedLabel.

Parameters
strExpandedInformationThe string that the CBCGPTaskDialog displays in the main body of the dialog box when the user clicks the expansion button.
strCollapsedLabelThe string that the CBCGPTaskDialog displays next to the expansion button when the expanded area is collapsed.
strExpandedLabelThe string that the CBCGPTaskDialog displays next to the expansion button when the expanded area is displayed.