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
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.
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");

