BCGControlBar Pro for MFC
BOOL BCGP_GRID_FILTERBAR_PARAM::bIncludeGroups

Specifies whether groups (items with sub-items) should be included in the filtering results.