5 references to SetWindowRgn
System.Windows.Forms (5)
winforms\Managed\System\WinForms\Control.cs (3)
3592
if (UnsafeNativeMethods.
SetWindowRgn
(new HandleRef(this, Handle), new HandleRef(this, regionHandle), SafeNativeMethods.IsWindowVisible(new HandleRef(this, Handle))) != 0) {
8752
if (UnsafeNativeMethods.
SetWindowRgn
(new HandleRef(this, Handle), new HandleRef(this, regionHandle), SafeNativeMethods.IsWindowVisible(new HandleRef(this, Handle))) != 0) {
18438
UnsafeNativeMethods.
SetWindowRgn
(new HandleRef(control, control.Handle), new HandleRef(this, finalClipRegion), SafeNativeMethods.IsWindowVisible(new HandleRef(control, control.Handle)));
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
1258
if (UnsafeNativeMethods.
SetWindowRgn
(new HandleRef(this, Handle), new HandleRef(windowRegion, windowRegionHandle), true) != 0) {
winforms\Managed\System\WinForms\MDIClient.cs (1)
309
if (UnsafeNativeMethods.
SetWindowRgn
(new HandleRef(this, Handle), new HandleRef(null, rgn1), true) == 0) {