CBrush::CreateSolidBrush

This member function initializes a brush with a specified solid color.

Syntax

BOOL CreateSolidBrush( COLORREF crColor );

At a Glance

Header file: Afxwin.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CBrush Overview, CBrush Member Functions, Graphical Drawing Object Classes, CBrush::CreateBrushIndirect, CBrush::CreateDIBPatternBrush, CGdiObject::DeleteObject