Exception:无效的窗口句柄。

报错信息 1
Win32Exception: 无效的窗口句柄。
--NativeErrorCode: 1400
StackTrace:
   在 MS.Internal.PointUtil.ScreenToClient(Point pointScreen, PresentationSource presentationSource)
   在 System.Windows.Controls.PopupControlService.ConvexHull.ContainsMousePoint()
   在 System.Windows.Controls.PopupControlService.MouseHasLeftSafeArea()
   在 System.Windows.Controls.PopupControlService.OnMouseMove(IInputElement directlyOver)
   在 System.Windows.Controls.PopupControlService.OnPostProcessInput(Object sender, ProcessInputEventArgs e)
   在 System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.MouseDevice.Synchronize()
   在 System.Windows.Input.InputManager.HitTestInvalidatedAsyncCallback(Object arg)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

版本:1.43.68 2025-04-15 21:19 Microsoft Windows NT 10.0.22621.0