tvDeleteItem

Top  Previous  Next

Syntax

INT = tvDeleteItem(win as WINDOW,id as UINT,handle as UINT)

Description

Deletes an item from a tree view control.

Parameters

win - Window or dialog containing the control.

id - Identifier of the tree view control.

handle - Handle returned by tvInsertItem

Return value

Returns TRUE (1) if successful, FALSE(0) on failure.

Remarks

See Also: tvDeleteAllItems, tvInsertItem.

Example usage

tvDeleteItem mydlg, 17, hChild