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


CTreeCtrl::GetLastVisibleItem

Retrieves the last expanded item in the current tree-view control.

HTREEITEM GetLastVisibleItem() const;

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

The handle to the last expanded tree-view control item if the method is successful; otherwise, NULL.

Заметки

This method sends the TVM_GETNEXTITEM message, which is described in the Windows SDK. For more information, see the TVGN_LASTVISIBLE flag in the flag parameter of that message.

Требования

Header: afxcmn.h

См. также

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

CTreeCtrl Class

CTreeCtrl Members

Hierarchy Chart

TVM_GETNEXTITEM