Prev Next

TVN_DELETEITEM Overview  Group

The TVN_DELETEITEM notification message notifies a tree-view control’s parent window that an item is being deleted. This notification message is sent in the form of a WM_NOTIFY message.

TVN_DELETEITEM 

pnmtv = (NM_TREEVIEW FAR *) lParam 

 

Parameters

pnmtv
Pointer to an NM_TREEVIEW structure. The itemOld member is a TV_ITEM structure whose hItem and lParam members contain valid information about the item being deleted.

Return Values

No return value.

Remarks

If the lParam member of the TV_ITEM structure points to memory allocated by your application, you can free it when you receive the TVN_DELETEITEM notification message.

See Also

NM_TREEVIEW, TV_ITEM, WM_NOTIFY