December 21, 2024

Dynamic Windows Function [dw_container_delete_row]

Syntax

void dw_container_delete_row(HWND handle, char *title)

Parameters

HWND handle: Handle to the window (widget).
char *title: Title usually returned by dw_container_query().

Description

Deletes the item with the title specified.

Remarks

As of version 3.0 this function does a string comparison. To do a pointer comparison see dw_container_delete_row_by_data().

Prior to version 3.0 this function by default does a pointer comparison, there was a special mode from 2.2 to 2.5 for doing a string comparison on the titles. To enable string comparisons on the container issue this command:

dw_window_set_data(container, "_dw_textcomp", DW_INT_TO_POINTER(1));