Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>invalidaterect()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
InvalidateRect()
Force a rectangular area to be redrawn
------------------------------------------------------------------------------

Syntax
InvalidateRect( <hWnd>, [ <aRect> ] , [ <lErase> ] )   -->  nil

Arguments
<hWnd> specifies a handle to a window.

<aRect> is an optional parameter that specifies the rectangle
which is to be redrawn.  The default is the entire client
area.  If this parameter is specified it should be an array
with four elements, giving the left, top, right and bottom
positions of the area to be redrawn.

<lErase> is an optional logical parameter, specifying whether
the background should be erased.  It defaults to TRUE (.T.).

Returns
NIL.

Description
This function can be used to make sure the window is re-drawn.
It will cause an EVENT_REDRAW to be placed in the event queue,
which should be used by the application to redraw the window.

Example
InvalidateRect( hWnd )


See Also: ChkEvent() DrawText() GetDC() TextOut()

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