API 文件集 > Custom user interface > Object ProUIList > Function ProUIListSelectednamesGet
Function ProUIListSelectednamesGet
Description
Gives the names of the currently selected items in a list
Synopsis
#include <ProUIList.h>
ProUIListSelectednamesGet
(
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
The function was successful
One or more of the arguments are invalid
The function failed
User Guide References
這是否有幫助?