TVM_INSERTITEM message
Inserts a new item in a tree-view control. You can send this message explicitly or by using the TreeView_InsertItem macro.
Parameters
- wParam
- Must be zero.
- lParam
-
Pointer to a TVINSERTSTRUCT structure that specifies the attributes of the tree-view item.
Return value
Returns the HTREEITEM handle to the new item if successful, or NULL otherwise.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Unicode and ANSI names |
TVM_INSERTITEMW (Unicode) and TVM_INSERTITEMA (ANSI) |
See also
Show: