Sign in Join
FPDoc Onlineexperiment

SetWindowRgn function

In unit LCLIntf

Defines the visible region of a window or control.

Declaration

pascal
function SetWindowRgn(hWnd: HWND; hRgn: HRGN; bRedraw: Boolean)
: LongInt

Description

This function sets the visible region of a window or control. It's parameters are:

hWnd
The handle of the window or control
hRgn
The handle to the region which contains the visible section of the window or control
bRedraw
True if the control or window should be repainted following the call of this function, False otherwise. See also the wiki documentation: Creating a Non-Rectangular Window or Control

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.