◄Up► ◄Contents► ◄Index► ◄Back► ─────The GETWSIZEQQ Function──────────────────────────────────────────────── GETWSIZEQQ is defined as follows in FLIB.FI: INTERFACE TO INTEGER*2 FUNCTION GETWSIZEQQ(IUNIT,IREQ,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 INTEGER*2 IREQ RECORD /QWINFO/ WINFO END The IUNIT parameter specifies the window unit. The IREQ parameter specifies the kind of information requested. The following symbolic constants for IREQ are defined in FLIB.FD: Constant Request QWIN$FRAMEMAX Maximum size of frame window QWIN$FRAMECURR Current size of frame window QWIN$CHILDMAX Maximum size of child window QWIN$CHILDCURR Current size of child window GETWSIZEQQ ignores the IUNIT parameter if IREQ specifies a frame window using QWIN$FRAMEMAX or QWIN$FRAMECURR. GETWSIZEQQ sets WINFO.X and WINFO.Y to the X and Y coordinates of the window's upper left corner. Depending on whether IREQ specifies the current or the maximum values, GETWSIZEQQ sets WINFO.H and WINFO.W to the current or the maximum height and width of the window's client area (the area within the frame). All positions and dimensions are expressed in units of a character height or width. GETWSIZEQQ returns zero on success and a nonzero value on failure. -♦-