22 references to RegionFlags
System.Windows.Forms (22)
winforms\Managed\System\WinForms\ComboBox.cs (4)
3760NativeMethods.RegionFlags updateRegionFlags = (NativeMethods.RegionFlags)SafeNativeMethods.GetUpdateRgn(new HandleRef(this, this.Handle), new HandleRef(this, wr.HRegion), true); 3781if (updateRegionFlags != NativeMethods.RegionFlags.ERROR) { 3786if (updateRegionFlags != NativeMethods.RegionFlags.ERROR) {
winforms\Managed\System\WinForms\Control.cs (4)
10357NativeMethods.RegionFlags selectResult = (NativeMethods.RegionFlags)SafeNativeMethods.SelectClipRgn(hDC, hClippingRegion); 10358Debug.Assert((selectResult == NativeMethods.RegionFlags.SIMPLEREGION || 10359selectResult == NativeMethods.RegionFlags.NULLREGION),
winforms\Managed\System\WinForms\WinFormsUtils.cs (14)
617NativeMethods.RegionFlags originalRegionType = NativeMethods.RegionFlags.NULLREGION; 652originalRegionType = (NativeMethods.RegionFlags)SafeNativeMethods.GetRgnBox(hOriginalClippingRegion, ref originalClipRect); 653Debug.Assert(originalRegionType != NativeMethods.RegionFlags.ERROR, "ERROR returned from SelectClipRgn while selecting the original clipping region.."); 655if (originalRegionType == NativeMethods.RegionFlags.SIMPLEREGION) 661NativeMethods.RegionFlags combineResult = (NativeMethods.RegionFlags)SafeNativeMethods.CombineRgn(hClippingRegion, hClippingRegion, hOriginalClippingRegion, NativeMethods.RGN_AND); 662Debug.Assert((combineResult == NativeMethods.RegionFlags.SIMPLEREGION) || 663(combineResult == NativeMethods.RegionFlags.NULLREGION), 673originalRegionType = NativeMethods.RegionFlags.SIMPLEREGION; 677NativeMethods.RegionFlags selectResult = (NativeMethods.RegionFlags)SafeNativeMethods.SelectClipRgn(hDC, hClippingRegion); 678Debug.Assert((selectResult == NativeMethods.RegionFlags.SIMPLEREGION || 679selectResult == NativeMethods.RegionFlags.NULLREGION),