•  Back 
  •  Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
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_GET(handle,code[,w1,w2,w3,w4])

handle, code: iexp
w1, w2, w3, w4: ivar

This function returns information about a window.

Returns 0 if an error occurred.

    handle - Identification number of the window.
    code   - Depending on the code specified, information is returned in
             w1, w2, w3, and w4 as follows:
                 1 : WF_KIND (NAES)
                 2 : WF_NAME (NAES)
                 3 : WF_INFO (NAES)
                 4 : WF_WORKXYWH returns the size of the window work area:
                     w1 - returns left x-coordinate
                     w2 - returns top y-coordinate
                     w3 - returns width
                     w4 - returns height
                 5 : WF_CURRXYWH returns the total size of the entire window
                     including the borders:
                     w1 - returns left x-coordinate
                     w2 - returns top y-coordinate
                     w3 - returns width
                     w4 - returns height
                 6 : WF_PREVXYWH returns the total size of the previous window:
                     w1 - returns left x-coordinate
                     w2 - returns top y-coordinate
                     w3 - returns width
                     w4 - returns height
                 7 : WF_FULLXYWH returns the total maximum size of the window
                     (set by WIND_CREATE()):
                     w1 - returns left x-coordinate
                     w2 - returns top y-coordinate
                     w3 - returns width
                     w4 - returns height
                 8 : WF_HSLIDE returns the position of the horizontal slider:
                     w1 - returns slider position (0=far left, 1000=far right)
                 9 : WF_VSLIDE returns the position of the vertical slider:
                     w1 - returns slider position (0=top, 1000=bottom)
                 10: WF_TOP returns the identification number of the top
                     (active) window:
                     w1 - returns the identication number
                 11: WF_FIRSTXYWH returns the coordinates of the first
                     rectangle in the specified window's rectangle list. (The
                     list of rectangles required to build up the window: an
                     unobscured window has one rectangle in its list, a window
                     partially obscured by another window has several, a
                     totally obscured window has none):
                     w1 - returns left x-coordinate
                     w2 - returns top y-coordinate
                     w3 - returns width
                     w4 - returns height
                 12: WF_NEXTXYWH returns the coordinates of the next rectangle
                     in the specified window's rectangle list:
                     w1 - returns left x-coordinate
                     w2 - returns top y-coordinate
                     w3 - returns width
                     w4 - returns height
                 13: WF_RESVD reserved
                 14: WF_NEWDESK (AES 4.0)
                 15: WF_HSLIZE returns the size of the horizontal slider bar
                     compared to its maximum possible size:
                     w1 - returns slider size (1=small, 1000=full width)
                 16: WF_VSLIZE returns the size of the vertical slider bar
                     compared to its maximum possible size:
                     w1 - returns slider size (1=small, 1000=full height)
                 17: WF_SCREEN
                 18: WF_COLOR     (AES 4.1)
                 19: WF_DCOLOR    (AES 4.1)
                 20: WF_OWNER     (AES 4.0)
                 24: WF_BEVENT    (AES 4.0)
                 25: WF_BOTTOM    (AES 4.0)
                 26: WF_ICONIFY   (AES 4.1)
                 27: WF_UNIFONIFY (AES 4.1)
                 30: WF_TOOLBAR   (AES 4.1)
                 31: WF_FTOOLBAR  (AES 4.1)
                 32: WF_NTOOLBAR  (AES 4.1)
                200: WF_WIDGETS   (NAES)

The parameters w1, w2, w3, and w4 are optional, these values can also be found
by querying GINTOUT(1) to GINTOUT(4).

wind_get()+