Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 727 -
------------------------------------------------------------------------------
2.6 Alter window size. <Main>
------------------------------------------------------------------------------
[Name]
win_size
[Syntax]
#include <crt.h>
int win_size( int dy, int dx ) ;
[Arguments]
dy vertical expansion/reduction value
dx horizontal expansion/reduction value
[Return]
Returns zero if successful. When failed, returns "-1" and sets
following error code to the global variable "errno".
EW_DISP invalid size value specified
[Description]
Change active window size.
Window size expansion or reduction takes place so that the bottom or
the right side border is moved by the specified value relative to the
upper-left corner of the window.
The size expansion value which would cause a part of the window to be
off the screen cannot be specified. Also the size reduction value
which would shrink the window less than the size of 1 line/1 column
cannot be specified.
After the window size is expanded or reduced, whole screen is redrawn.
Win_size() does not change overlapping order of the windows.