Unit 'InterfaceBase' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TWidgetSet.SetWindowRgn

Restricts the visible part of the entire window.

Declaration

Source position: winapih.inc line 270

public function TWidgetSet.SetWindowRgn(

  hWnd: HWND;

  hRgn: HRGN;

  bRedraw: Boolean

):LongInt; virtual;

Arguments

hWnd

  

The window handle.

hRgn

  

The window region handle.

bRedraw

  

True forces a repaint of the window.

Function result

False on failure.