Set the indices of the initially selected items in a popup list dialog.
#include <bps/dialog.h>
BPS_API int dialog_set_popuplist_selected_indices(dialog_instance_t dialog,
int selected_indices[],
int num_items)
BlackBerry 10.0.0
The dialog to update.
The indices of the items to be initially selected.
The number of indices in the selected_indices array.
The dialog_set_popuplist_selected_indices() function sets the indices of the items in the specified popup list dialog that are selected initially.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.