BCGControlBar Pro for MFC
BOOL CBCGPDialog::Expand ( BOOL  bExpand = TRUE)

Expands or collapses the dialog box.

Parameters
bExpandTRUE to expand.
Returns
TRUE if it succeeds, FALSE if it fails.

Call EnableExpand() to enable dialog box expanding.