[Overview][Types][Procedures and functions][Variables][Index] Reference for unit 'LCLIntf' (#lcl)

CreatePatternBrush

Creates a logical brush, selectable into any DC.

Declaration

Source position: winapih.inc line 66

function CreatePatternBrush(

  ABitmap: HBITMAP

):HBRUSH;

Arguments

ABitmap

  

The bitmap to use for the brush.

Function result

The brush handle, zero on failure.

Description

The bitmap pattern is repeated for areas of larger width or height, it should allow for smooth transitions.

Monochrome bitmaps obtain the actual text (0) or background (1) color of the DC.


Version 3.2 Generated 2024-02-25 Home