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