BCGSuite for MFC
int CBCGPOutlineNode::ToggleAllOutlining ( )

Expands or collapses all nodes.

Returns
The number of collapsed/expanded.

Used to toggle the expansion of all collapsible nodes. If some regions are expanded and some hidden, then the hidden regions are expanded.