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