Function Reference


_WinAPI_FrameRect

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

#include <WinAPIGdiDC.au3>
_WinAPI_FrameRect ( $hDC, $tRECT, $hBrush )

Parameters

$hDC Handle to the device context in which the border is drawn
$tRECT A $tagRECT structure or a pointer to it that contains the logical coordinates of the upper-left and lower-right corners of the rectangle
$hBrush Handle to the brush used to draw the border

Return Value

Success: True
Failure: False

Remarks

The brush identified by the $hBrush parameter must have been created by using the _WinAPI_CreateSolidBrush() function, or retrieved by using the _WinAPI_GetStockObject() function

Related

$tagRECT

See Also

Search FrameRect in MSDN Library.