MS\Internal\Automation\HwndProxyElementProvider.cs (37)
316if ( IsBitSet(GetWindowStyle(), SafeNativeMethods.WS_DISABLED) )
511if (IsBitSet(style, SafeNativeMethods.WS_DISABLED))
516return IsBitSet(style, SafeNativeMethods.WS_MAXIMIZEBOX);
530if (IsBitSet(style, SafeNativeMethods.WS_DISABLED))
535return IsBitSet(style, SafeNativeMethods.WS_MINIMIZEBOX);
555return IsBitSet(GetWindowStyle(hwndOwner), SafeNativeMethods.WS_DISABLED);
567if ( IsBitSet(style, SafeNativeMethods.WS_MAXIMIZE) )
571else if ( IsBitSet(style, SafeNativeMethods.WS_MINIMIZE) )
616if (IsBitSet(style, SafeNativeMethods.WS_DISABLED))
632return IsBitSet(GetWindowExStyle(), SafeNativeMethods.WS_EX_TOPMOST);
652if ( IsBitSet(extendedStyle, SafeNativeMethods.WS_EX_MDICHILD) )
733if ( IsBitSet(style, SafeNativeMethods.WS_MINIMIZE) )
873if (IsBitSet(style, SafeNativeMethods.WS_DISABLED))
879if (IsBitSet(style, SafeNativeMethods.WS_SYSMENU))
889if (IsBitSet(style, SafeNativeMethods.WS_MAXIMIZE))
897if ( IsBitSet(style, SafeNativeMethods.WS_MINIMIZE) && !IsBitSet(extendedStyle, SafeNativeMethods.WS_EX_MDICHILD) )
902return IsBitSet(style, SafeNativeMethods.WS_BORDER) && IsBitSet(style, SafeNativeMethods.WS_DLGFRAME);
918if (IsBitSet(style, SafeNativeMethods.WS_DISABLED))
924if (IsBitSet(style, SafeNativeMethods.WS_SYSMENU))
934if ( IsBitSet(style, SafeNativeMethods.WS_MAXIMIZE) || IsBitSet(style, SafeNativeMethods.WS_MINIMIZE) )
939return IsBitSet(style, SafeNativeMethods.WS_THICKFRAME);
1043if (IsBitSet(extendedStyle, SafeNativeMethods.WS_EX_APPWINDOW))
1055bool hasTitleBar = IsBitSet( style, SafeNativeMethods.WS_BORDER ) && IsBitSet( style, SafeNativeMethods.WS_DLGFRAME );
1061if (IsBitSet( extendedStyle, SafeNativeMethods.WS_EX_TOOLWINDOW ) && !hasTitleBar )
1064if (IsBitSet(style, SafeNativeMethods.WS_POPUP) && !hasTitleBar)
1068if (!IsTopLevelWindow(hwnd) && !IsBitSet( extendedStyle, SafeNativeMethods.WS_EX_MDICHILD ) )
1090if ( IsBitSet(style, SafeNativeMethods.WS_THICKFRAME) )
1094if ( IsBitSet(style, SafeNativeMethods.WS_BORDER) && IsBitSet(style, SafeNativeMethods.WS_DLGFRAME) )
1602if ( IsBitSet(extendedStyle, SafeNativeMethods.WS_EX_DLGMODALFRAME) )
1653bool isDisabled = IsBitSet(state, UnsafeNativeMethods.MF_DISABLED);
1654bool isGrayed = IsBitSet(state, UnsafeNativeMethods.MF_GRAYED);
2002if (IsBitSet(exStyle, SafeNativeMethods.WS_EX_MDICHILD))