Export (0) Print
Expand All

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

Unicode and ANSI names

TVN_DELETEITEMW (Unicode) and TVN_DELETEITEMA (ANSI)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft