API 文件集 > Custom user interface > Object ProUIList > Function ProUIListLabelsSet
Function ProUIListLabelsSet
Description
Set the labels on the buttons in a list component. The labels are the identifiers for the items in a list that are displayed on the dialog. Before defining the labels, you must specify the internal names using ProUIListNamesSet().
Synopsis
#include <ProUIList.h>
ProUIListLabelsSet
(
char* dialog
/* (In)
The name of the dialog that contains the list
*/
char* list
/* (In)
The name of the list component
*/
int n_labels
/* (In)
The number of labels
*/
wchar_t** labels
/* (In)
An array of labels.
*/
)
Returns
The function was successful
One or more of the arguments are invalid
The function failed
Sample Code References
這是否有幫助?