•  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_SET(handle,code,w1,w2,w3,w4)

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

This function changes parts of a window according to the specified function
code.

Returns 0 if an error occured.

    handle - Identification number of the window.
    code   - Specifies components to be changed:
                 2 : WF_NAME sets the title
                     w1 - High-word of the address of the string
                     w2 - Low-word of the address of the string
                     Note the string must be terminated with a null (0) byte.
                 3 : WF_INFO sets the information line:
                     w1 - High-word of the address of the string
                     w2 - Low-word of the address of the string
                     Note the string must be terminated with a null (0) byte.
                 5 : WF_CURRXYWH sets the total window size:
                     w1 - Left x-coordinate
                     w2 - Top y-coordinate
                     w3 - Width
                     w4 - Height
                 8 : WF_HSLIDE set the position of the horizontal slider:
                     w1 - Slider position (1=far left, 1000=far right)
                 9 : WF_VSLIDE set the position of the vertical slider:
                     w1 - Slider position (1=top, 1000=bottom)
                 10: WF_TOP Sets the top (currently active) window:
                     w1 - Handle of window to make active
                 14: WF_NEWDESK sets a new desktop background
                     w1 - High-word of the address of the tree
                     w2 - Low-word of the address of the tree
                 15: WF_HSLIZE sets the size of the horizontal slider bar
                     compared to its maximum possible size:
                     w1 - Slider size (1=small, 1000=full width)
                 16: WF_VSLIZE sets the size of the vertical slider bar
                     compared to its maximum possible size:
                     w1 - Slider size (1=small, 1000=full height)
                 18: WF_COLOR         (AES 4.1)
                 19: WF_DCOLOR        (AES 4.1)
                 24: WF_BEVENT        (AES 4.0)
                 25: WF_BOTTOM        (AES 4.0)
                 26: WF_ICONIFY       (AES 4.1)
                 27: WF_UNICONIFY     (AES 4.1)
                 28: WF_UNICONIFYXYWH (AES 41.)
                 30: WF_TOOLBAR       (AES 4.1)
                200: WF_WIDGETS       (NAES)

wind_set()+