Contents Index Topic Contents | ||
Previous Topic: TreeView_HitTest Next Topic: TreeView_Select |
TreeView_InsertItem
HTREEITEM TreeView_InsertItem( HWND hwndTV, LPTVINSERTSTRUCT lpis );Inserts a new item in a tree view control. You can use this macro or send the TVM_INSERTITEM message explicitly.
- Returns the handle to the new item if successful, or NULL otherwise.
- hwndTV
- Handle to the tree view control.
- lpis
- Address of a TVINSERTSTRUCT structure that specifies the attributes of the tree view item.
See also TVN_ENDLABELEDIT
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.