From c72795024cf52da4bcbfcd24a9a45e2c02827978 Mon Sep 17 00:00:00 2001 From: sekelsenmat Date: Sun, 17 Jul 2011 06:58:32 +0000 Subject: [PATCH] Adds documentation to lclintf.setwindowrgn git-svn-id: trunk@31717 - --- docs/xml/lcl/lclintf.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 + +