BCGControlBar Pro for MFC
void CBCGPTasksPane::CollapseAllGroups ( BOOL  bCollapse = TRUE)

Programmatically collapses all groups.

Parameters
bCollapseTRUE to collapse.