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


CTreeCtrl::MapAccIdToItem

Maps the specified accessibility identifier to the handle of a tree-view item in the current tree-view control.

HTREEITEM MapAccIdToItem(
                    UINT uAccId
) const;

Параметры

Parameter

Description

[in] uAccId

An accessibility identifier for an element in the tree-view item.

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

The handle to a tree-view item (HTREEITEM) that corresponds to the uAccId parameter. For more information, see the hItem member of the TVITEMEX structure.

Заметки

Accessibility aids are applications that help people with disabilities use computers. An accessibility identifier is used by the IAccessible interface to uniquely specify an element in a window. For more information about accessibility identifiers, search for the "About Active Accessibility Support" topic at Microsoft Developer Network.

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

Требования

Header: afxcmn.h

This method is supported in Windows XP and later.

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

См. также

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

CTreeCtrl Class

CTreeCtrl Members

Hierarchy Chart

TVM_MAPACCIDTOHTREEITEM

TVITEMEX

CTreeCtrl::MapItemToAccID