10 references to CreateRectRgn
System.Windows.Forms (10)
winforms\Managed\System\WinForms\Control.cs (3)
10352
HandleRef hClippingRegion = new HandleRef(null, SafeNativeMethods.
CreateRectRgn
(viewportOrg.x,viewportOrg.y, viewportOrg.x + this.Width, viewportOrg.y + this.Height));
17449
IntPtr newRegion = SafeNativeMethods.
CreateRectRgn
(0, 0, 0, 0);
18418
clipRegion = SafeNativeMethods.
CreateRectRgn
(rcIntersect.left, rcIntersect.top,
winforms\Managed\System\WinForms\MDIClient.cs (2)
298
rgn1 = SafeNativeMethods.
CreateRectRgn
(0, 0, bounds.Width, bounds.Height);
300
rgn2 = SafeNativeMethods.
CreateRectRgn
(-rect.left, -rect.top,
winforms\Managed\System\WinForms\ToolStripTextBox.cs (3)
727
hTotalRegion = new HandleRef(this, SafeNativeMethods.
CreateRectRgn
(0, 0, this.Width, this.Height));
728
hClientRegion = new HandleRef(this, SafeNativeMethods.
CreateRectRgn
(absoluteClientRectangle.left, absoluteClientRectangle.top, absoluteClientRectangle.right, absoluteClientRectangle.bottom));
729
hNonClientRegion = new HandleRef(this, SafeNativeMethods.
CreateRectRgn
(0,0,0,0));
winforms\Managed\System\WinForms\WinFormsUtils.cs (2)
630
HandleRef hClippingRegion = new HandleRef(null, SafeNativeMethods.
CreateRectRgn
(viewportOrg.x + bounds.Left, viewportOrg.y + bounds.Top, viewportOrg.x + bounds.Right, viewportOrg.y + bounds.Bottom));
636
hOriginalClippingRegion = new HandleRef(this, SafeNativeMethods.
CreateRectRgn
(0, 0, 0, 0));