BCGSuite for MFC
int CBCGPTreeCtrlEx::GetSelectedItemsCount ( ) const

Returns a number of the currently selected tree items.