BCGControlBar Pro for MFC
BOOL CBCGPTasksPane::CollapseGroup ( int  nGroup,
BOOL  bCollapse = TRUE 
)
inline

Programmatically collapses a group.

Returns
Nonzero if succeed; otherwise 0.

Use this function to programmatically collapse the groups. A collapsed group shows only the group caption, the list of tasks is hidden.

Parameters
nGroupThe zero-based index of the group in the internal list of groups.
bCollapseSpecifies whether tasks group can be collapsed or not.