11 references to IsWindowVisible
System.Windows.Forms (11)
winforms\Managed\System\WinForms\Application.cs (2)
796
if (processId == thisPID && SafeNativeMethods.
IsWindowVisible
(new HandleRef(null, handle))) {
4251
if (SafeNativeMethods.
IsWindowVisible
(new HandleRef(null, hWnd)) && SafeNativeMethods.IsWindowEnabled(new HandleRef(null, hWnd))) {
winforms\Managed\System\WinForms\ComboBox.cs (1)
5782
return SafeNativeMethods.
IsWindowVisible
(new HandleRef(this, Handle));
winforms\Managed\System\WinForms\Control.cs (6)
1405
bool visible = SafeNativeMethods.
IsWindowVisible
(new HandleRef(window, Handle));
3021
if (SafeNativeMethods.
IsWindowVisible
(new HandleRef(null, next))) {
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) {
12183
if (!SafeNativeMethods.
IsWindowVisible
(new HandleRef(this,this.Handle))) {
18438
UnsafeNativeMethods.SetWindowRgn(new HandleRef(control, control.Handle), new HandleRef(this, finalClipRegion), SafeNativeMethods.
IsWindowVisible
(new HandleRef(control, control.Handle)));
winforms\Managed\System\WinForms\Form.cs (2)
6233
if (UnsafeNativeMethods.IsWindow(new HandleRef(null, hWndActive)) && SafeNativeMethods.
IsWindowVisible
(new HandleRef(null, hWndActive))) {
6236
else if (UnsafeNativeMethods.IsWindow(new HandleRef(null, hWndOwner)) && SafeNativeMethods.
IsWindowVisible
(new HandleRef(null, hWndOwner))){