MS\Internal\Automation\HwndProxyElementProvider.cs (37)
299if ( IsBitSet(GetWindowStyle(), SafeNativeMethods.WS_DISABLED) )
492if (IsBitSet(style, SafeNativeMethods.WS_DISABLED))
497return IsBitSet(style, SafeNativeMethods.WS_MAXIMIZEBOX);
511if (IsBitSet(style, SafeNativeMethods.WS_DISABLED))
516return IsBitSet(style, SafeNativeMethods.WS_MINIMIZEBOX);
534return IsBitSet(GetWindowStyle(hwndOwner), SafeNativeMethods.WS_DISABLED);
546if ( IsBitSet(style, SafeNativeMethods.WS_MAXIMIZE) )
550else if ( IsBitSet(style, SafeNativeMethods.WS_MINIMIZE) )
593if (IsBitSet(style, SafeNativeMethods.WS_DISABLED))
609return IsBitSet(GetWindowExStyle(), SafeNativeMethods.WS_EX_TOPMOST);
629if ( IsBitSet(extendedStyle, SafeNativeMethods.WS_EX_MDICHILD) )
712if ( IsBitSet(style, SafeNativeMethods.WS_MINIMIZE) )
853if (IsBitSet(style, SafeNativeMethods.WS_DISABLED))
859if (IsBitSet(style, SafeNativeMethods.WS_SYSMENU))
869if (IsBitSet(style, SafeNativeMethods.WS_MAXIMIZE))
877if ( IsBitSet(style, SafeNativeMethods.WS_MINIMIZE) && !IsBitSet(extendedStyle, SafeNativeMethods.WS_EX_MDICHILD) )
882return IsBitSet(style, SafeNativeMethods.WS_BORDER) && IsBitSet(style, SafeNativeMethods.WS_DLGFRAME);
898if (IsBitSet(style, SafeNativeMethods.WS_DISABLED))
904if (IsBitSet(style, SafeNativeMethods.WS_SYSMENU))
914if ( IsBitSet(style, SafeNativeMethods.WS_MAXIMIZE) || IsBitSet(style, SafeNativeMethods.WS_MINIMIZE) )
919return IsBitSet(style, SafeNativeMethods.WS_THICKFRAME);
1023if (IsBitSet(extendedStyle, SafeNativeMethods.WS_EX_APPWINDOW))
1035bool hasTitleBar = IsBitSet( style, SafeNativeMethods.WS_BORDER ) && IsBitSet( style, SafeNativeMethods.WS_DLGFRAME );
1041if (IsBitSet( extendedStyle, SafeNativeMethods.WS_EX_TOOLWINDOW ) && !hasTitleBar )
1044if (IsBitSet(style, SafeNativeMethods.WS_POPUP) && !hasTitleBar)
1048if (!IsTopLevelWindow(hwnd) && !IsBitSet( extendedStyle, SafeNativeMethods.WS_EX_MDICHILD ) )
1070if ( IsBitSet(style, SafeNativeMethods.WS_THICKFRAME) )
1074if ( IsBitSet(style, SafeNativeMethods.WS_BORDER) && IsBitSet(style, SafeNativeMethods.WS_DLGFRAME) )
1591if ( IsBitSet(extendedStyle, SafeNativeMethods.WS_EX_DLGMODALFRAME) )
1642bool isDisabled = IsBitSet(state, UnsafeNativeMethods.MF_DISABLED);
1643bool isGrayed = IsBitSet(state, UnsafeNativeMethods.MF_GRAYED);
1991if (IsBitSet(exStyle, SafeNativeMethods.WS_EX_MDICHILD))