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

 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 wCanMove( <uWinID> ) ;
                          => ;
                          ( wSet( <uWinID>, _WSET_CANMOVE ) )

 Source...: FW_MAIN.CH
-------------------------------------------------------------------------------
 Example..: . The example checks to make sure that the window
              can be moved by a mouse click or keyboard entry.
              Later, you may want to disable the move feature.

            if wCanMove() == TRUE
               wLimit( , 10, 10, 20, 20)
            endif

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

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