Category Custom user interface, Object ProUIOptionmenu

Function ProUIOptionmenuNamesGet


Description
Get the names of the items in the option menu.
Synopsis
#include <ProUIOptionmenu.h>
ProErrorProUIOptionmenuNamesGet(
char* dialog
/* (In)
The name of the dialog that contains optionmenu.
*/
char* component
/* (In)
The name of the optionmenu component.
*/
int* count
/* (Out)
Number of items.
*/
char*** values
/* (Out)
Array of names of the items. Free this using ProStringarrayFree().
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_GENERAL_ERRORThe function failed.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.

Manual References:

  1. User Interface: Dialogs: Optionmenu Attributes