TVM_INSERTITEM
A version of this page is also available for
4/8/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 |
Windows Mobile | Windows Mobile Version 5.0 and later |