Function Reference


Draws a border around the specified region by using the specified brush

#include <WinAPIGdi.au3>
_WinAPI_FrameRgn ( $hDC, $hRgn, $hBrush, $iWidth, $iHeight )


$hDC Handle to the device context.
$hRgn Handle to the region to be enclosed in a border.
The region's coordinates are presumed to be in logical units.
$hBrush Handle to the brush to be used to draw the border.
$iWidth The width, in logical units, of vertical brush strokes.
$iHeight The height, in logical units, of horizontal brush strokes.

Return Value

Success: True
Failure: False

See Also

Search FrameRgn in MSDN Library.