Share this page

# nca_win_resize

Window Object Functions

Resizes a window.

    int nca_win_resize( LPCSTR window, int width, int height );

window | The logical name of the window.
width | The new width of the window, in pixels.
height | The new height of the window, in pixels.

The nca_win_resize function changes the position of the window.

## Return Values

Oracle NCA Error Codes

## Parameterization

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

## Example

In the following example, the nca_win_resize function resizes the test window to 271 x 171.

Copy code

    nca_set_window("Frame Creator");
    nca_button_press("is Resizable");
    nca_button_press("is Maxable");
    nca_button_press("is Iconifiable");
    nca_button_press("is Closable");
    nca_edit_set("Title", "Test Window");
    nca_button_press("Make");
    nca_win_resize("Test Window", 271, 171);
    win_min("Test Window");
    win_restore("Test Window");

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