March 28, 2024

Dynamic Windows Function [dw_tree_insert_after]

Syntax

HTREEITEM dw_tree_insert_after(HWND handle, HTREEITEM item, char *title, HICN icon, HTREEITEM parent, void *itemdata)

Parameters

HWND handle: Handle to the tree to be inserted.
HTREEITEM item: Handle to the item to be positioned after.
char *title: The text title of the entry.
HICN icon: Handle to corresponding icon.
HTREEITEM parent: Parent handle or 0 if root.
void *itemdata: Item specific data.

Returns

HTREEITEM A handle to a tree item or NULL on failure.

Description

Inserts an item into a tree window (widget) after another item.