SEC_TREECLASS::SetItemEx

Sets the extended attributes of the specified item.

Defined in: trcore.inl

Syntax

SetItemEx(TV_ITEM* pTVI, TV_ITEM_EX* pTVIX)

SetItemEx(LV_ITEM* pLVI, const LV_ITEM_EX* pLVIX)

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. Set the maskEx, stateExMask and stateEx members as desired before calling.

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.Set the maskEx, stateExMask and stateEx members as desired before calling.

Comments

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