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>wredraw() window function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  WREDRAW()                                                  Window Function
 Purpose..: Refresh the display of the current window
-------------------------------------------------------------------------------
 Syntax...: wReDraw( [<uWin>] ) --> lSuccess

 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..: lSuccess is TRUE, if successful.

 Source...: WREDRAW.PRG
-------------------------------------------------------------------------------
 Example..: .  This example changes certain window attributes
               and redraws the display to reflect those changes.

             lSavSize := wSet( , _WSET_CANSIZE, .F. )
             lSavZoom := wSet( , _WSET_CANZOOM, .F. )
             wReDraw()

             READ MOUSE IN WINDOW

             wSet( , _WSET_CANSIZE, lSavSize )
             wSet( , _WSET_CANZOOM, lSavZoom )
             wReDraw()

See Also: wOpen() wClose()

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