Function Reference


Creates a solid color bitmap

#include <WinAPIGdi.au3>
_WinAPI_CreateSolidBitmap ( $hWnd, $iColor, $iWidth, $iHeight [, $bRGB = 1] )


$hWnd Handle to the window where the bitmap will be displayed
$iColor The color of the bitmap, stated in RGB
$iWidth The width of the bitmap
$iHeight The height of the bitmap
$bRGB [optional] If True converts to COLOREF (0x00bbggrr)

Return Value

Success: Handle to the bitmap
Failure: 0