Funktionreferenz


_WinAPI_InvertRect


Inverts a rectangle in a window by performing a logical NOT operation on the color values for each pixel

#include <WinAPIGdi.au3>
_WinAPI_InvertRect ( $hDC, $tRECT )

Parameter

$hDC Handle to the device context.
$tRECT $tagRECT structure that contains the logical coordinates of the rectangle to be inverted.

Rückgabewert

Success: True
Failure: False

Bemerkungen

On monochrome screens, the _WinAPI_InvertRect() makes white pixels black and black pixels white. On color screens,
the inversion depends on how colors are generated for the screen. Calling _WinAPI_InvertRect() twice for the same
rectangle restores the display to its previous colors.

Siehe auch

Suche nach InvertRect in der MSDN Bibliothek.