Resize Window (QsnRszWin) API


  Required Parameter Group:


  Omissible Parameter:


  Returned Value:


  Default Public Authority: *USE

  Service Program: QSNAPI

  Threadsafe: No

The Resize Window (QsnRszWin) API allows a window to be resized. If a Change Window Coordinates exit routine is specified on the window description, it is called after the window is successfully resized. If the window is a full screen window, the API will complete successfully, but the window will not be moved. Windows where the associated low-level environment indicates DBCS support cannot be resized.


Authorities and Locks

None.


Required Parameter Group

Window handle
INPUT; BINARY(4)

A handle for the window to be resized.

Number of rows
INPUT; BINARY(4)

The new value for the number of rows in the window.

Number of columns
INPUT; BINARY(4)

The new value for the number of columns in the window.


Omissible Parameter

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter. If this parameter is omitted, diagnostic and escape messages are issued to the application.


Returned Value

Return code
OUTPUT; BINARY(4)

A return code indicating the result of the operation. The value returned will be 0 if the operation was successful, or -1 otherwise.


Error Messages



API introduced: V2R3

[ Back to top | Dynamic Screen Manager APIs | APIs by category ]