Category Custom user interface, Object ProUIList

Function ProUIListSelectednamesGet


Description
Gives the names of the currently selected items in a list
Synopsis
#include <ProUIList.h>
ProErrorProUIListSelectednamesGet(
char* dialog
/* (In)
The name of the dialog that contains the list
*/
char* list
/* (In)
The name of the list component
*/
int* n_selections
/* (Out)
The number of selections
*/
char*** selections
/* (Out)
An array of strings containing the names of items in the list currently selected. The memory for this array is allocated by the function and should be freed with ProStringarrayFree().
*/
)
Returns
PRO_TK_NO_ERRORThe function was successful
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid
PRO_TK_GENERAL_ERRORThe function failed

Manual References:

  1. User Interface: Dialogs: List Attributes