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>validaterect()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ValidateRect()
Mark a rectangular area as not needing to be redrawn
------------------------------------------------------------------------------

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

Arguments
<hWnd> specifies a handle to a window.

<aRect> is an optional parameter that specifies the rectangle
which is to be considered up to date (i.e. not needing 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.

Returns
NIL.

Description
This function can be used to inform Windows that an area of a
window does not need to be re-drawn.  BeginPaint()
automatically validates the area to be redrawn.

Example
ValidateRect( hWnd )

See Also: BeginPaint() InvalidateRect()

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