Function Reference


Creates a logical brush that has the specified solid color

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


$iColor Specifies the color of the brush

Return Value

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


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

See Also

Search CreateSolidBrush in MSDN Library.