Поделиться через


TVM_INSERTITEM (Windows Embedded CE 6.0)

1/6/2010

This message inserts a new item in a tree view control. You can send this message explicitly or by using the TreeView_InsertItem macro.

Syntax

TVM_INSERTITEM wParam = 0; 
    lParam = (LPARAM)(LPTV_INSERTSTRUCT) lpis;

Parameters

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

Return Value

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

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Tree View Controls Messages
TreeView_InsertItem
TV_INSERTSTRUCT
TVN_ENDLABELEDIT