Category Custom user interface, Object ProUIDialog

Function ProUIDialogComponentsCollect


Description
Returns the names of components in this dialog. This function can also filter components by their type.
Synopsis
#include <ProUIDialog.h>
ProErrorProUIDialogComponentsCollect(
char* dialog
/* (In)
Name of the dialog.
*/
char* component_type
/* (In)
One of the predefined component class types (see ProUI.h). Pass NULL to obtain all components.
*/
int* count
/* (Out)
The number of components found.
*/
char*** component_array
/* (Out)
The component array. Free this using ProStringarrayFree().
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_E_NOT_FOUNDNo components of the given type were found.

Manual References:

  1. User Interface: Dialogs: Dialog Operations
  2. User Interface: Dialogs: Dialog Operations