nca_list_get_text

List Object Functions

An Oracle–NCA function to retrieve the selected item from a list.

int nca_list_get_text( LPCSTR name, char *value );
name The logical name of the list.
value A buffer to retrieve the selected item.

nca_list_get_text retrieves the selected item from a list into value.

Note that the user is responsible for the allocation and deallocation of the buffer value.

Return Values

Oracle NCA Error Codes

Parameterization

You cannot use standard parameterization for any arguments in this function.

Example

The following example retrieves the selected item from the list in the window specified by nca_set_window.

char buffer[1000];

nca_set_window("Navigator - Cash Management, Vision Operations (USA)");
nca_list_get_text("DESKTOP_TLIST_0", buffer);