[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GetAllWin() -> <aWindows>

------------------------------------------------------------------------------

 DESCRIPTION:

  GetAllWin() returns a reference to the array where all window objects
  are stored. This is very usefull if you want to check _all_ windows for
  a certain condition. This will find the window object that has Focus :

     +-------------------------------------------------------------+
     |  /* the focused Window */                                   |
     |   IF !( cx := GetProp( GetActiveWindow(), "WP" )) == 0      |
     |      oWin := GetAllWin()[cx]                                |
     |   ELSE                                                      |
     |      oWin := Twindow()                                      |
     |      oWin:hWnd := GetActiveWindow()                         |
     |   ENDIF                                                     |
     +-------------------------------------------------------------+



See Also: nWindows
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson