Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FreshWin (c) Fresh Technologies - <b>wontop() window function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  WONTOP()                                                   Window Function
 Purpose..: Return the ID of the window in focus
-------------------------------------------------------------------------------
 Syntax...: wOnTop( [<uWin>] ) --> cWinID|(TRUE|FALSE)

 Arguments: [<uWin>] = the string identifier of the window
                       OR the reference to the window structure
                       returned as an array by wNew() or wArray().
                       If not passed, the function will return the
                       identifier of the top-most window.

 Returns..: the name of the window in focus or TRUE|FALSE
                if <uWin> was specified.

 Source...: WONTOP.PRG
-------------------------------------------------------------------------------
 Example..: wOpen( "Help" )
            ? wOnTop()         // Will print "Help"
            ? wOnTop( "Help" ) // Will print .T.

See Also: wHead()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson