diff --git a/docs/xml/lcl/lclintf.xml b/docs/xml/lcl/lclintf.xml index 32ae0fb284..b5f049e096 100644 --- a/docs/xml/lcl/lclintf.xml +++ b/docs/xml/lcl/lclintf.xml @@ -3088,6 +3088,19 @@ the Canvas.SaveHandleState and Canvas.RestoreHandleState. + + + Defines the visible region of a window or control + 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 + + TWinControl.SetShape + LCLIntf.CreateRectRgn + +