Share this page

# nca_get_top_window

Window Object Functions

Gets the logical name of the top window.

    int nca_get_top_window( char *winName );

winName | A pointer to a string buffer to store the name.

The nca_get_top_window assigns the name of the top window to the user-allocated buffer pointed to by winName.

## Return Values

Oracle NCA Error Codes

## Parameterization

Parameterization is not available for this function.

## Example

This example show the use of nca_get_top_window to get the name of the window to close it.

    char topwin[1024];

    nca_get_top_window(topwin);

    if (strcmp(topwin, "Note")
        nca_win_close(topwin);

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: