dialog_set_popuplist_header_indices()

Set the indices of the list items that are formatted as headers.

Synopsis:

#include <bps/dialog.h>
 
BPS_API int dialog_set_popuplist_header_indices(dialog_instance_t dialog,
                                                int header_indices[],
                                                int num_items)

Since:

BlackBerry 10.0.0

Arguments:

dialog

The dialog to update.

header_indices

The indices of the items that are formatted as headers.

num_items

The number of indices in the header_indices array.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The dialog_set_popuplist_header_indices() function sets the indices of the list items in the specified popup list dialog that are formatted as headers.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.