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

 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 wIsMax( <uWinID> ) ;
                          => ;
                          ( wSet( <uWinID>, _WSET_CONDITION ) == WZ_MAX )

 Source...: FW_MAIN.CH
-------------------------------------------------------------------------------
 Example..: . The example checks to see whether the window
              has been maximized by a mouse click or keyboard entry.
              If it has, it is converted to an icon.

           if wIsMax( "Guide" )
               wZoom( "Guide", WZ_MIN )
           endif

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

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