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>wisrest() window function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  WISREST()                                                  Window Function
 Purpose..: Verify whether a window has been restored
-------------------------------------------------------------------------------
 Syntax...: wIsRest( [<uWin>] ) --> lIsRest

 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 operate on
                       the window in focus.

 Returns..: <L> True | False depending upon the parameter setting.

 Remark...: The function works whether the window is open or not.

            The function is an #translate directive:

            #xtranslate wIsRest( <uWinID> ) ;
                          => ;
                          ( wSet( <uWinID>, _WSET_CONDITION ) == WZ_REST )

 Source...: FW_MAIN.CH
-------------------------------------------------------------------------------
 Example..: . The example checks to make sure that the window,
              if unrestored, is.

           if !wIsRest( "Guide" )
               wZoom( "Guide", WZ_REST )
           endif

See Also: wSet() wIsMax() wIsActive() wIsMin()

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