Поделиться через


CTreeCtrl::GetSelectedCount

Retrieves the number of selected items in the current tree-view control.

UINT GetSelectedCount();

Возвращаемое значение

The number of selected items.

Заметки

This method sends the TVM_GETSELECTEDCOUNT message, which is described in the Windows SDK.

Требования

Header: afxcmn.h

This method is supported in Windows Vista and later.

Additional requirements for this method are described in Build Requirements for Windows Vista Common Controls.

См. также

Основные понятия

CTreeCtrl Class

CTreeCtrl Members

Hierarchy Chart

TVM_GETSELECTEDCOUNT