TVM_INSERTITEM (Compact 2013)
3/28/2014
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 |
See Also
Reference
Tree View Controls Messages
TreeView_InsertItem
TV_INSERTSTRUCT
TVN_ENDLABELEDIT