2 writes to _panelWindow
aspire-tray (2)
TrayApplication.Panel.cs (2)
153_panelWindow = NativeMethods.CreateWindowEx(NativeMethods.WsExToolWindow | NativeMethods.WsExTopmost, PanelClassName, "Aspire", 945_panelWindow = 0;
33 references to _panelWindow
aspire-tray (33)
TrayApplication.NativeSmoke.cs (7)
124NativeCallException.Require(NativeMethods.GetWindowRect(_panelWindow, out var rect) != 0, "GetWindowRect(capture)"); 126PanelScale, _panelWindow, (rect.Left, rect.Top, rect.Right - rect.Left, rect.Bottom - rect.Top)); 234NativeMethods.SendMessage(_panelWindow, NativeMethods.WmMouseMove, 0, point); 235NativeMethods.SendMessage(_panelWindow, NativeMethods.WmLeftButtonDown, 1, point); 236NativeMethods.SendMessage(_panelWindow, NativeMethods.WmLeftButtonUp, 0, point); 247NativeMethods.SendMessage(_panelWindow, NativeMethods.WmKeyDown, (nuint)virtualKey, 0); 285NativeMethods.UpdateWindow(_panelWindow);
TrayApplication.Panel.cs (20)
85if (NativeMethods.SetForegroundWindow(_panelWindow) == 0) 91NativeMethods.SetFocus(_panelWindow); 123NativeMethods.ShowWindow(_panelWindow, 0); // SW_HIDE 128if (_panelWindow != 0) 155NativeCallException.Require(_panelWindow != 0, "CreateWindowExW(flyout)"); 160_panelUsesDwmCorners = NativeMethods.DwmSetWindowAttribute(_panelWindow, 33, &preference, sizeof(int)) >= 0; 213NativeCallException.Require(NativeMethods.SetWindowPos(_panelWindow, -1, x, y, width, height, show ? 0x40u : 0x10u) != 0, 220if (region != 0 && NativeMethods.SetWindowRgn(_panelWindow, region, 1) == 0) 225NativeMethods.InvalidateRect(_panelWindow, 0, 0); 247NativeMethods.WsPopup | NativeMethods.TtsAlwaysTip | NativeMethods.TtsNoPrefix, 0, 0, 0, 0, _panelWindow, 0, _module, 0); 258var tool = new NativeMethods.ToolInfo { Size = (uint)sizeof(NativeMethods.ToolInfo), Window = _panelWindow, Id = (nuint)i }; 271Window = _panelWindow, 314NativeMethods.GetWindowRect(_panelWindow, out var rect); 321NativeMethods.InvalidateRect(_panelWindow, 0, 0); 429var dc = NativeMethods.BeginPaint(_panelWindow, out var paint); 436NativeMethods.GetClientRect(_panelWindow, out var client); 462NativeMethods.EndPaint(_panelWindow, in paint); 941if (_panelWindow != 0) 944Cleanup(NativeMethods.DestroyWindow(_panelWindow) != 0, "DestroyWindow(flyout)"); 980if (s_current is { } application && window == application._panelWindow)
TrayApplication.PanelAutomation.cs (6)
125var rootId = stackalloc int[2] { 42, (int)_panelWindow }; 173NativeMethods.GetWindowRect(_panelWindow, out var window); 189NativeMethods.GetWindowRect(_panelWindow, out var window); 216NativeMethods.UiaReturnRawElementProvider(_panelWindow, 0, 0, 0); 289Marshal.ThrowExceptionForHR(NativeMethods.UiaHostProviderFromHwnd(owner._panelWindow, out var host)); 433if (NativeMethods.PostMessage(owner._panelWindow, WmPanelAutomationInvoke, (nuint)id, 0) == 0)