Property HasSel of interface IUIX_Tree returns Value of VARIANT_BOOL ...
HRESULT get_HasSel([out, retval] VARIANT_BOOL* pHasSel);
See also IUIX_Tree.