March 28, 2024

Dynamic Windows Function [dw_tree_item_expand]

Syntax

void dw_tree_item_expand(HWND handle, HTREEITEM item)

Parameters

HWND handle: Handle to the tree window (widget).
HTREEITEM item: Handle to node to be expanded.

Description

Expands a node on a tree.

Remarks

On the Mac this function may not work if the parent item is not visible in the tree.

To be crossplatform make sure parent items are expanded before issuing this call.