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


Defines the visible region of a window or control


Source position: winapih.inc line 267

function SetWindowRgn(

  hWnd: HWND;

  hRgn: HRGN;

  bRedraw: Boolean



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: http://wiki.lazarus.freepascal.org/LCL_Tips#Creating_a_non-rectangular_window_or_control

See also



Specifies the (non-rectangular) shape of the widget.



Creates a rectangular region.

This page is hosted on Get Lazarus Code and Component Repository at SourceForge.net. Fast, secure and Free Open Source software downloads