Function Reference


_WinAPI_SetBoundsRect

Controls the accumulation of bounding rectangle information for the specified device context

#include <WinAPIGdi.au3>
_WinAPI_SetBoundsRect ( $hDC, $iFlags [, $tRECT = 0] )

Parameters

$hDC Handle to the device context for which to accumulate bounding rectangles.
$iFlags The flags that specifies how the new rectangle will be combined with the accumulated rectangle.
This parameter can be one of more of the following values.
$DCB_ACCUMULATE
$DCB_DISABLE
$DCB_ENABLE
$DCB_RESET
$tRECT [optional] $tagRECT structure used to set the bounding rectangle in logical coordinates.

Return Value

Success: The value specifies the previous state of the bounding rectangle ($DCB_*).
Failure: 0.

See Also

Search SetBoundsRect in MSDN Library.