home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / MorphOS / Epic4_mos / share / epic / help / 6_functions / winvisible < prev    next >
Encoding:
Text File  |  2002-10-28  |  638 b   |  24 lines

  1. Synopsis:
  2.    $winvisible(<name|number>)
  3.  
  4. Technical:
  5.    This function is used to determine whether a window is currently hidden
  6.    or not.  It may take a window name or window number as its argument.
  7.  
  8. Practical:
  9.    This function is useful when you want to make sure that a particular
  10.    message is displayed in a visible window.
  11.  
  12. Returns:
  13.     1   window exists and is visible  
  14.     0   window exists and is hidden
  15.    -1   window does not exist
  16.  
  17. Examples:
  18.    $winvisible(1)                  checks if window #1 is hidden
  19.    $winvisible(misc)               checks with window "misc" is hidden
  20.  
  21. See Also:
  22.    window(4) hide
  23.  
  24.