CreateSolidBrush3w
Usage
HBRUSH CreateSolidBrush
(
COLORREF color
)
Overview
Create a logical brush consisting of a single colour.
Params
color [In] Colour to make the solid brush.
Returns
A handle to the newly created brush, or a NULL handle if the brush cannot be created.
Notes
- This function uses CreateBrushIndirect(3w) to create the brush.
- The brush returned should be freed by the caller using DeleteObject(3w) when it is no longer required.
Implementation
Declared in "wingdi.h".
Implemented in "dlls/gdi32/brush.c".
Debug channel "gdi".
Releases
5 releases since Debian 2.1 (Slink); the text changed 4 times.