CGXBrush::CGXBrush

CGXBrush();

CGXBrush(const LOGBRUSH& logbrush);

CGXBrush(const CGXBrush& brush);

CGXBrush(LPCTSTR pszDescription);

CGXBrush(UINT style, COLORREF color, LONG hatch);

logbrush

Reference to another LOGBRUSH object.

brush

Reference to another CGXBrush object.

pszDescription

Points to a description string. The brush will be initialized through SetDescription(szDescription).

style

  • Specifies the brush type. The style parameter must be one of the following styles:

  • BS_HATCHED Hatched brush.

  • BS_HOLLOW Hollow brush.

BS_SOLID Solid brush.

color

Specifies the pen color. You might pass a system color by using the GXSYSCOLOR macro, as for example GXSYSCOLOR(SYSCOLOR_BTNFACE).

hatch

Specifies the fill pattern. See SetHatch for available patterns.

Remarks

Constructs an empty brush object or initializes it with the specified settings.

See Also

 CGXBrush::SetStyle  CGXBrush::SetHatch

CGXBrush

 Class Overview |  Class Members