nca_win_get_info

Window Object Functions

Returns the value of a window property.

int nca_win_get_info( LPCSTR window, LPCSTR property, char *out_value );
window The logical name of the window.
property One of the available properties: Oracle NCA Object Properties.
out_value The variable that stores the value of the specified attribute.

The nca_win_get_info function retrieves the value of the specified attribute and stores it in out_value.

Return Values

Oracle NCA Error Codes

Parameterization

The following variable can be parameterized using standard parameterization: window

Example

In the following example, the nca_win_get_info function gets the value of a property.

nca_set_window("Oracle Applications");
nca_edit_set("SIGNON_USERNAME_0", "OPERATIONS");
nca_obj_type("SIGNON_USERNAME_0",'\t',0);
nca_win_get_info("Oracle Applications", "title_text",out_value);
if(strcmp(out_value, "Oracle Applications")!=0)
     lr_error_message("obj_get_info failed");
nca_obj_get_info("Oracle Applicati", "title_text",out_value);
if(strcmp(out_value, "Oracle Applications")!=0)
     lr_error_message("obj_get_info failed");
status = nca_obj_status("Oracle Applicati");
if(status != E_OK)
     lr_error_message("obj_status failed");