TVN_ENDLABELEDIT

This notification message notifies a tree view controls parent window about the end of label editing for an item. It is sent in the form of a WM_NOTIFY message.

TVN_ENDLABELEDIT ptvdi = (TV_DISPINFO FAR *) lParam

Parameters

  • ptvdi
    Pointer to an NMTVDISPINFO structure. The item member of this structure is a TVITEM structure whose hItem, lParam, and pszText members contain valid information about the item that was edited.

    If label editing was canceled, the pszText member of the TVITEM structure is NULL; otherwise, pszText is the address of the edited text.

Return Values

If the pszText member is non-NULL, return TRUE to set the item's label to the edited text. Return FALSE to reject the edited text and revert to the original label.

Remarks

If the pszText member is NULL, the return value is ignored.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Commctrl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

NM_TREEVIEW, TV_ITEM, TVM_EDITLABEL, TVN_BEGINLABELEDIT, WM_NOTIFY

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.