SEC_TREECLASS::GetItemEx

Retrieves the extended attributes of the specified item.

Defined in: trcore.inl

Syntax

GetItemEx(TV_ITEM* pTVI, TV_ITEM_EX* pTVIX, BOOL bGetDispInfoEx)

GetItemEx(LV_ITEM* pLVI, LV_ITEM_EX* pLVIX, BOOL bGetDispInfoEx)

Return Value

Nonzero if successful; otherwise NULL.

Parameters

pTVI

A pointer to a TV_ITEM structure. The hItem member must be set to the desired item before calling.

pTVIX

A pointer to a TV_ITEM_EX structure that will hold the return values.

pLVI

A pointer to an LV_ITEM structure. The iItem and iSubitem members must be set before calling.

pLVIX

A pointer to an LV_ITEM_EX structure that will hold the return values.

bGetDispInfoEx

If current item is a callback item, and this flag is set to TRUE, the tree view control sends the parent window a TVN_GETDISPINFO notification message. By default, this flag is set to FALSE.

Comments

Call this function to retrieve the extended attributes of the specified tree view item.