Topic : The GFA-Basic Compendium Author : GFA Systemtechnik GmbH Version : GFABasic.HYP v2.98 (12/31/2023) Subject : Documentation/Programming Nodes : 899 Index Size : 28056 HCP-Version : 3 Compiled on : Atari @charset : atarist @lang : @default : Document not found @help : Help @options : +g -i -s +z @width : 75 @hostname : STRNGSRV @hostname : CAB @hostname : HIGHWIRE @hostname : THING View Ref-FileWIND_CALC(w_type,attr,ix,iy,iw,ih[,ox,oy,ow,oh]) w_type, attr, ix, iy, iw, ih: iexp ox, oy, ow, oh: ivar This function computes the total size of a window (including slider bars, etc.) from the size of the work area, or conversely, the size of the work area from the total size of the window. Returns 0 if an error occurred. w_type - Type of calculation to preform: 0: Compute total size 1: Compute work area size attr - Window attributes as follows: Bit &H0001 NAME Title bar with name 0 &H0002 CLOSE Close box 1 &H0004 FULL Full box 2 &H0008 MOVE Move box 3 &H0010 INFO Information line 4 &H0020 SIZE Size box 5 &H0040 UPARROW Up arrow 6 &H0080 DNARROW Down arrow 7 &H0100 VSLIDE Vertical slider bar 8 &H0200 LFARROW Left arrow 9 &H0400 RTARROW Right arrow 10 &H0800 HSLIDE Horizontal slider 11 ix - Known left x-coordinate. iy - Known top y-coordinate. iw - Known width. ih - Known height. ox - Returns computed left x-coordinate. oy - Returns computed top y-coordinate. ow - Returns computed width. oh - Returns computed height. The parameters ox, oy, ow, and oh are optional, these values can also be found by querying GINTOUT(1) to GINTOUT(4). wind_calc()+