TV_INSERTSTRUCT
This structure contains information used to add a new item to a tree view control. This structure is identical to the TVINSERTSTRUCT structure, but was renamed to follow standard naming conventions.
typedef struct _TV_INSERTSTRUCT {
HTREEITEM hParent;
HTREEITEM hInsertAfter;
TV_ITEM item; }
TV_INSERTSTRUCT, FAR *LPTV_INSERTSTRUCT;
Members
hParent
Handle to the parent item. If this member is the TVI_ROOT value or NULL, the item is inserted at the root of the tree view control.hInsertAfter
Handle to the item after which the new item is to be inserted, or one of the following values:Value Description TVI_FIRST Inserts the item at the beginning of the list. TVI_LAST Inserts the item at the end of the list. TVI_SORT Inserts the item into the list in alphabetical order. item
TV_ITEM structure that contains information about the item to add.
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
TVM_INSERTITEM, TVINSERTSTRUCT, TV_ITEM
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.