•  Back 
  •  Window Library 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-FileWindow Library
wind_find()                                                             AES

Syntax

WORD wind_find( x, y )
WORD x, y;

Function       wind_find() returns the handle of the window found at the
               given coordinates.

Opcode         106 (0x6A)

Availability   All AES versions.

Parameters     x and y specify the coordinates to search for a window at.

Binding        intin[0] = x;
               intin[1] = y;

               return crys_if(0x6A);

Return Value   wind_find() returns the handle of the uppermost window
               found at location x, y. If no window is found, the function
               returns 0 meaning the Desktop window.

Comments       This function is useful for tracking the mouse pointer and
               changing its shape depending upon what window it falls
               over.

Group          Window Library