9 references to GetFocus
aspire-tray (9)
TrayApplication.NativeSmoke.cs (4)
154_tooltipFocusForSmoke = NativeMethods.GetFocus(); 168NativeSmokeHarness.Require(NativeMethods.GetFocus() == _tooltipFocusForSmoke, "The tooltip stole keyboard focus."); 513NativeSmokeHarness.Require(NativeMethods.IsChild(_settingsWindow, NativeMethods.GetFocus()) != 0, 558NativeSmokeHarness.Require(NativeMethods.GetFocus() == control
TrayApplication.Settings.cs (4)
155var focus = NativeMethods.GetFocus(); 161NativeCallException.Require(NativeMethods.GetFocus() == target, "SetFocus(Settings)"); 197if (!showDetails && NativeMethods.GetFocus() == _settingsRefresh) 208var moveFocus = !enabled && NativeMethods.GetFocus() == _settingsCheckbox;
TrayApplication.SettingsAppearance.cs (1)
110EnsureSettingsControlVisible(NativeMethods.GetFocus());