December 21, 2024

Dynamic Windows Function [dw_container_query_next]

Syntax

char * dw_container_query_next(HWND handle, unsigned long flags)

Parameters

HWND handle: Handle to the window (widget) to be queried.
unsigned long flags: If this parameter is DW_CRA_SELECTED it will only return items that are currently selected. Otherwise it will return all records in the container.

Returns

char * Pointer to data associated with next entry or NULL on error or completion.

Description

Continues an existing query of a container.

Remarks

As of version 3.0 this function returns a duplicated buffer with the title which needs to be freed with dw_free() unless the DW_CR_RETDATA flag is passed, which causes it to instead return the data pointer.