SetWindowRgn function
Defines the visible region of a window or control.
Declaration
function SetWindowRgn(hWnd: HWND; hRgn: HRGN; bRedraw: Boolean)
: LongIntDescription
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.
