Share via


TreeView_InsertItem (Windows CE 5.0)

Send Feedback

This macro inserts a new item in a tree-view control. You can use this macro or send the TVM_INSERTITEM message explicitly.

HTREEITEMTreeView_InsertItem(hwnd,lpis );

Parameters

  • hwnd
    Handle to the tree view control.
  • lpis
    Long pointer to a TV_INSERTSTRUCT structure that specifies the attributes of the tree view item.

Return Values

The handle to the new item indicates success. NULL indicates failure.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

TVM_INSERTITEM | TVN_ENDLABELEDIT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.