BCGControlBar Pro for MFC
int CBCGPProp::GetExpandedSubItems ( BOOL  bIncludeHidden = TRUE,
BOOL  bCalcRows = FALSE 
) const

Returns the number of expanded sub-items.

Parameters
bIncludeHiddenSpecifies whether number of expanded sub-items includes hidden items or not.
bCalcRowsTRUE - calculates rows number, FALSE - items only.
Returns
A number of expanded sub-items.