void CBCGPTreeCtrlEx::SetSelectedItems | ( | const CArray< HTREEITEM, HTREEITEM > & | arSelected, |
BOOL | bClearSelection = TRUE |
||
) |
Selects multiple tree items.
Use this method to select multiple items. Please note that you need to call the SetSingleSel() method with the parameter FALSE to enable multiple selections of the tree items.
arSelected | The reference to array that contains the tree items to be selected. |
bClearSelection | Specifies whether the previously selected items shoud be unselected. |