BCGControlBar Pro for MFC
int CBCGPProp::GetSubItemsCount ( BOOL  bVisibleOnly = FALSE) const

Returns the number of sub-items.

Returns
The number of child items.
Parameters
bVisibleOnlyIf this parameter is TRUE, the invisible (hidden) properties are not taken into account, and the method returns the number of visible properties.