Rediger

Del via


TVN_DELETEITEM notification code

Notifies a tree-view control's parent window that an item is being deleted. This notification code is sent in the form of a WM_NOTIFY message.

TVN_DELETEITEM 

    pnmtv = (LPNMTREEVIEW) lParam 

Parameters

lParam

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

Return value

The return value is ignored.

Remarks

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

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h
Unicode and ANSI names
TVN_DELETEITEMW (Unicode) and TVN_DELETEITEMA (ANSI)