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>invertrect()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
InvertRect()
Invert the pixels in a rectangular area
------------------------------------------------------------------------------

Syntax
InvertRect( <hDC>, <aRect> )   -->   nil

Arguments
<hDC> specifies the device context for a window.

<aRect> specifies the rectangle which is to be inverted.  This
parameter should be an array with four elements, giving the
left, top, right and bottom positions of the area to be inverted.

Returns
NIL.

Description
This function inverts each pixel in the area specified (using
a logical NOT to flip the bits of each pixel).

Example
aRect := GetClientRect( hWnd )
InvertRect( hDC, aRect )

See Also: GetClientRect() GetDC()

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