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>wcanzoom() window function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  WCANZOOM()                                                 Window Function
 Purpose..: Verify whether a window can be zoomed
-------------------------------------------------------------------------------
 Syntax...: wCanZoom( [<uWin>] ) --> lCanZoom

 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 wCanZoom( <uWinID> ) ;
                          => ;
                          ( wSet( <uWinID>, _WSET_CANZOOM ) )

 Source...: FW_MAIN.CH
-------------------------------------------------------------------------------
 Example..: . The example checks to make sure that the window
              can be zoomed by a mouse click or keyboard entry.

            if wCanZoom() == FALSE
               wSet( , _WSET_CANZOOM, TRUE )
               wReDraw()
            endif

See Also: wSet() wCanClose() wCanMove() wCanSize()

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