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


CTreeCtrl::MapItemToAccID

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

UINT MapItemToAccID(
          HTREEITEM hItem
) const;

Параметры

Parameter

Description

[in] hItem

A handle of a tree-view item in the control. For more information, see the hItem member of the TVITEMEX structure.

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

The accessibility identifier that corresponds to the hItem parameter.

Заметки

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_MAPHTREEITEMTOACCID 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_MAPHTREEITEMTOACCID

TVITEMEX

CTreeCtrl::MapAccIdToItem