Function Reference


_WinAPI_CreateSolidBitmap

Creates a solid color bitmap

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

Parameters

$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

Related

_WinAPI_CreateCompatibleBitmap