Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
The SETWSIZEQQ Function
◄Up► ◄Contents► ◄Index► ◄Back►
─────The SETWSIZEQQ Function────────────────────────────────────────────────
The SETWSIZEQQ function sets the position or size of a window. It
is defined as follows in FLIB.FI:
INTERFACE TO INTEGER*2 FUNCTION SETWSIZEQQ(IUNIT,WINFO)
STRUCTURE /QWINFO/
INTEGER*2 TYPE ! request type
INTEGER*2 X ! x coordinate for upper left
INTEGER*2 Y ! y coordinate for upper left
INTEGER*2 H ! window height
INTEGER*2 W ! window width
END STRUCTURE
INTEGER*2 IUNIT
RECORD /QWINFO/ WINFO
END
The parameter IUNIT specifies the window unit.
All positions and dimensions are expressed in units of a
character height or width.
This function's behavior depends on the value of WINFO.TYPE,
which can be:
QWIN$MIN
QWIN$MAX
QWIN$RESTORE
QWIN$SET
These values are defined in FLIB.FD.
If WINFO.TYPE is QWIN$MIN or QWIN$MAX, the window is minimized or
maximized. If WINFO.TYPE is QWIN$RESTORE and the window is
currently minimized, it is restored to its previous size. If
WINFO.TYPE is QWIN$SET, the window's position and size are set
according to the values in WINFO.X, WINFO.Y, WINFO.H, and
WINFO.W.
SETWSIZEQQ returns zero on success and a nonzero value on
failure.
-♦-