Funktionreferenz


_WinAPI_SetDCBrushColor


Sets the current device context (DC) brush color to the specified color value

#include <WinAPIGdi.au3>
_WinAPI_SetDCBrushColor ( $hDC, $iRGB )

Parameter

$hDC Handle to the device context.
$iRGB The new brush color, in RGB.

Rückgabewert

Success: The value that specifies the previous DC brush color, in RGB.
Failure: (-1).

Bemerkungen

The function returns the previous $DC_BRUSH color, even if the stock brush $DC_BRUSH is not selected in the DC:
however, this will not be used in drawing operations until the stock $DC_BRUSH is selected in the DC.

Siehe auch

Suche nach SetDCBrushColor in der MSDN Bibliothek.