March 28, 2024

Dynamic Windows Function [dw_tree_get_title]

Syntax

char * dw_tree_get_title(HWND handle, HTREEITEM item)

Parameters

HWND handle: Handle to the tree containing the item.
HTREEITEM item: Handle of the item to be modified.

Returns

char * A malloc()ed buffer of item text to be dw_free()ed or NULL on error.

Description

Gets the text an item in a tree window (widget).

Remarks

As of version 3.0 this function returns a duplicated buffer which needs to be freed with dw_free().