TVM_INSERTITEM
This message inserts a new item in a tree view control. You can send this message explicitly or by using the TreeView_InsertItem macro.
TVM_INSERTITEM wParam = 0;
lParam = (LPARAM)(LPTV_INSERTSTRUCT) lpis;
Parameters
- lpis
Long pointer to a TVINSERTSTRUCT structure that specifies the attributes of the tree view item.
Return Values
The handle to the new item indicates success. NULL indicates otherwise.
Remarks
Related macro: TreeView_InsertItem
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
TV_INSERTSTRUCT, TVN_ENDLABELEDIT
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.