TreeView_MapHTREEITEMToAccID macro (commctrl.h)
Maps an HTREEITEM to an accessibility ID. You can use this macro or send the TVM_MAPHTREEITEMTOACCID message explicitly.
Syntax
UINT TreeView_MapHTREEITEMtoAccID(
HWND hwnd,
HTREEITEM htreeitem
);
Parameters
hwnd
Type: HWND
Handle to the list-view control.
htreeitem
Type: HTREEITEM
The value to be mapped.
Return value
Type: UINT
Returns an accessibility ID.
Remarks
To use TreeView_MapHTREEITEMtoAccID, specify Comctl32.dll version 6 in the manifest. For more information on manifests, see Enabling Visual Styles.
Note The accessibility ID is not the same as that mentioned in IAccessibleObject. This is a unique ID used for treeview items as long as treeitems do not exceed the max limit of UINT.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |