BCGControlBar Pro for MFC
void CBCGPTasksPane::CollapseAllGroups ( int  nPageIdx,
BOOL  bCollapse 
)

Programmatically collapses all groups in the specified page.

Parameters
nPageIdxZero-based index of the page.
bCollapseTRUE to collapse.