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

TWidgetSet.CombineRgn

Combines two regions.

Declaration

Source position: winapih.inc line 47

public function TWidgetSet.CombineRgn(

  Dest: HRGN;

  Src1: HRGN;

  Src2: HRGN;

  fnCombineMode: LongInt

):LongInt; virtual;

Arguments

Dest

  

The Handle of the destination region. This region must already exist!

Src1

  

The handle of a region to combine.

Src2

  

The handle of a region to combine.

fnCombineMode

  

How the regions are combined.

Function result

The Destination's Region type, or ERROR (0).

Description

The Destination must already be initialized. The Return value is the Destination's Region type, or ERROR (0).

fnCombineMode can be one of:

The latest version of this document can be found at lazarus-ccr.sourceforge.net.