Function Reference


_WinAPI_CreateSolidBrush

Creates a logical brush that has the specified solid color

#include <WinAPIGdi.au3>
_WinAPI_CreateSolidBrush ( $iColor )

Parameters

$iColor Specifies the color of the brush

Return Value

Success: HBRUSH Value that identifies a logical brush
Failure: 0

Remarks

When you no longer need the HBRUSH object call the _WinAPI_DeleteObject() function to delete it

See Also

Search CreateSolidBrush in MSDN Library.