December 21, 2024

Dynamic Windows Function [dw_tree_insert]

Syntax

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

Parameters

HWND handle: Handle to the tree to be inserted.
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).