December 21, 2024

Dynamic Windows Function [dw_container_setup]

Syntax

int dw_container_setup(HWND handle, unsigned long *flags, char **titles, int count, int separator)

Parameters

HWND handle: Handle to the container to be configured.
unsigned long *flags: An array of unsigned longs with column flags such as DW_CFA_BITMAPORICON.
char **titles: An array of strings with column text titles.
int count: The number of columns (this should match the arrays).
int separator: The column number that contains the main separator. (this item may only be used in OS/2)

Returns

int DW_ERROR_NONE (0) on success.

Description

Sets up the container columns.

Remarks

The return codes of this function changed in version 2.0. Please double check any 1.x code that uses this function.